com.aliyun.sdk.service.cloudapi20160714.models.DescribeVpcAccessesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeVpcAccessesRequest} extends {@link RequestModel}
*
* DescribeVpcAccessesRequest
*/
public class DescribeVpcAccessesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccurateQuery")
private Boolean accurateQuery;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Port")
private String port;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List < Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpcAccessId")
private String vpcAccessId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private DescribeVpcAccessesRequest(Builder builder) {
super(builder);
this.accurateQuery = builder.accurateQuery;
this.instanceId = builder.instanceId;
this.name = builder.name;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.port = builder.port;
this.securityToken = builder.securityToken;
this.tag = builder.tag;
this.vpcAccessId = builder.vpcAccessId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeVpcAccessesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accurateQuery
*/
public Boolean getAccurateQuery() {
return this.accurateQuery;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return port
*/
public String getPort() {
return this.port;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return vpcAccessId
*/
public String getVpcAccessId() {
return this.vpcAccessId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder extends Request.Builder {
private Boolean accurateQuery;
private String instanceId;
private String name;
private Integer pageNumber;
private Integer pageSize;
private String port;
private String securityToken;
private java.util.List < Tag> tag;
private String vpcAccessId;
private String vpcId;
private Builder() {
super();
}
private Builder(DescribeVpcAccessesRequest request) {
super(request);
this.accurateQuery = request.accurateQuery;
this.instanceId = request.instanceId;
this.name = request.name;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.port = request.port;
this.securityToken = request.securityToken;
this.tag = request.tag;
this.vpcAccessId = request.vpcAccessId;
this.vpcId = request.vpcId;
}
/**
* Whether to conduct precise queries
*/
public Builder accurateQuery(Boolean accurateQuery) {
this.putQueryParameter("AccurateQuery", accurateQuery);
this.accurateQuery = accurateQuery;
return this;
}
/**
* The ID of the instance.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The name of the authorization. The name must be unique.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* The number of the page to return. Pages start from page 1. Default value: 1.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries to return on each page. Maximum value: 100. Default value: 10.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The service port.
*/
public Builder port(String port) {
this.putQueryParameter("Port", port);
this.port = port;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* The port number.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* The ID of the VPC authorization.
*/
public Builder vpcAccessId(String vpcAccessId) {
this.putQueryParameter("VpcAccessId", vpcAccessId);
this.vpcAccessId = vpcAccessId;
return this;
}
/**
* The ID of the VPC.
*/
public Builder vpcId(String vpcId) {
this.putQueryParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
@Override
public DescribeVpcAccessesRequest build() {
return new DescribeVpcAccessesRequest(this);
}
}
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
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;
/**
* The tag key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The tag value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy