com.aliyun.sdk.service.cloudapi20160701.models.DescribeTrafficControlsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeTrafficControlsRequest} extends {@link RequestModel}
*
* DescribeTrafficControlsRequest
*/
public class DescribeTrafficControlsRequest extends Request {
@Query
@NameInMap("ApiUid")
private String apiUid;
@Query
@NameInMap("GroupId")
private String groupId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
@Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("StageName")
private String stageName;
@Query
@NameInMap("TrafficControlId")
private String trafficControlId;
@Query
@NameInMap("TrafficControlName")
private String trafficControlName;
private DescribeTrafficControlsRequest(Builder builder) {
super(builder);
this.apiUid = builder.apiUid;
this.groupId = builder.groupId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
this.stageName = builder.stageName;
this.trafficControlId = builder.trafficControlId;
this.trafficControlName = builder.trafficControlName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeTrafficControlsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiUid
*/
public String getApiUid() {
return this.apiUid;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return stageName
*/
public String getStageName() {
return this.stageName;
}
/**
* @return trafficControlId
*/
public String getTrafficControlId() {
return this.trafficControlId;
}
/**
* @return trafficControlName
*/
public String getTrafficControlName() {
return this.trafficControlName;
}
public static final class Builder extends Request.Builder {
private String apiUid;
private String groupId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private String stageName;
private String trafficControlId;
private String trafficControlName;
private Builder() {
super();
}
private Builder(DescribeTrafficControlsRequest request) {
super(request);
this.apiUid = request.apiUid;
this.groupId = request.groupId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
this.stageName = request.stageName;
this.trafficControlId = request.trafficControlId;
this.trafficControlName = request.trafficControlName;
}
/**
* ApiUid.
*/
public Builder apiUid(String apiUid) {
this.putQueryParameter("ApiUid", apiUid);
this.apiUid = apiUid;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* StageName.
*/
public Builder stageName(String stageName) {
this.putQueryParameter("StageName", stageName);
this.stageName = stageName;
return this;
}
/**
* TrafficControlId.
*/
public Builder trafficControlId(String trafficControlId) {
this.putQueryParameter("TrafficControlId", trafficControlId);
this.trafficControlId = trafficControlId;
return this;
}
/**
* TrafficControlName.
*/
public Builder trafficControlName(String trafficControlName) {
this.putQueryParameter("TrafficControlName", trafficControlName);
this.trafficControlName = trafficControlName;
return this;
}
@Override
public DescribeTrafficControlsRequest build() {
return new DescribeTrafficControlsRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy