com.aliyun.sdk.service.cloudapi20160701.models.DescribeApiGroupsRequest 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 DescribeApiGroupsRequest} extends {@link RequestModel}
*
* DescribeApiGroupsRequest
*/
public class DescribeApiGroupsRequest extends Request {
@Query
@NameInMap("EnableTagAuth")
private Boolean enableTagAuth;
@Query
@NameInMap("GroupId")
private String groupId;
@Query
@NameInMap("GroupName")
private String groupName;
@Query
@NameInMap("InstanceId")
private String instanceId;
@Query
@NameInMap("NotClassic")
private Boolean notClassic;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
private DescribeApiGroupsRequest(Builder builder) {
super(builder);
this.enableTagAuth = builder.enableTagAuth;
this.groupId = builder.groupId;
this.groupName = builder.groupName;
this.instanceId = builder.instanceId;
this.notClassic = builder.notClassic;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static DescribeApiGroupsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableTagAuth
*/
public Boolean getEnableTagAuth() {
return this.enableTagAuth;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return notClassic
*/
public Boolean getNotClassic() {
return this.notClassic;
}
/**
* @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 tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder {
private Boolean enableTagAuth;
private String groupId;
private String groupName;
private String instanceId;
private Boolean notClassic;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private java.util.List < Tag> tag;
private Builder() {
super();
}
private Builder(DescribeApiGroupsRequest request) {
super(request);
this.enableTagAuth = request.enableTagAuth;
this.groupId = request.groupId;
this.groupName = request.groupName;
this.instanceId = request.instanceId;
this.notClassic = request.notClassic;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
this.tag = request.tag;
}
/**
* EnableTagAuth.
*/
public Builder enableTagAuth(Boolean enableTagAuth) {
this.putQueryParameter("EnableTagAuth", enableTagAuth);
this.enableTagAuth = enableTagAuth;
return this;
}
/**
* GroupId.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* GroupName.
*/
public Builder groupName(String groupName) {
this.putQueryParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* NotClassic.
*/
public Builder notClassic(Boolean notClassic) {
this.putQueryParameter("NotClassic", notClassic);
this.notClassic = notClassic;
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;
}
/**
* Tag.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public DescribeApiGroupsRequest build() {
return new DescribeApiGroupsRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
@Validation(required = true)
private String key;
@NameInMap("Value")
@Validation(required = true)
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy