All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloudapi20160714.models.RemoveTrafficControlApisRequest Maven / Gradle / Ivy

There is a newer version: 3.0.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link RemoveTrafficControlApisRequest} extends {@link RequestModel}
 *
 * 

RemoveTrafficControlApisRequest

*/ public class RemoveTrafficControlApisRequest extends Request { @Query @NameInMap("ApiIds") private String apiIds; @Query @NameInMap("GroupId") @Validation(required = true) private String groupId; @Query @NameInMap("SecurityToken") private String securityToken; @Query @NameInMap("StageName") @Validation(required = true) private String stageName; @Query @NameInMap("TrafficControlId") @Validation(required = true) private String trafficControlId; private RemoveTrafficControlApisRequest(Builder builder) { super(builder); this.apiIds = builder.apiIds; this.groupId = builder.groupId; this.securityToken = builder.securityToken; this.stageName = builder.stageName; this.trafficControlId = builder.trafficControlId; } public static Builder builder() { return new Builder(); } public static RemoveTrafficControlApisRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiIds */ public String getApiIds() { return this.apiIds; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return trafficControlId */ public String getTrafficControlId() { return this.trafficControlId; } public static final class Builder extends Request.Builder { private String apiIds; private String groupId; private String securityToken; private String stageName; private String trafficControlId; private Builder() { super(); } private Builder(RemoveTrafficControlApisRequest request) { super(request); this.apiIds = request.apiIds; this.groupId = request.groupId; this.securityToken = request.securityToken; this.stageName = request.stageName; this.trafficControlId = request.trafficControlId; } /** * The ID of the request. */ public Builder apiIds(String apiIds) { this.putQueryParameter("ApiIds", apiIds); this.apiIds = apiIds; return this; } /** * The name of the runtime environment. Valid values: *

* * * **RELEASE** * * **TEST** */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * * This API is intended for API providers. *

* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time. */ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } /** * The IDs of the APIs from which you want to unbind a specified throttling policy. *

* * * If this parameter is not specified, the throttling policy is unbound from all the APIs in the specified environment of the API group. * * Separate multiple API IDs with commas (,). A maximum of 100 API IDs can be entered. */ public Builder trafficControlId(String trafficControlId) { this.putQueryParameter("TrafficControlId", trafficControlId); this.trafficControlId = trafficControlId; return this; } @Override public RemoveTrafficControlApisRequest build() { return new RemoveTrafficControlApisRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy