com.aliyun.sdk.service.ens20171110.models.DescribeNatGatewaysRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeNatGatewaysRequest} extends {@link RequestModel}
*
* DescribeNatGatewaysRequest
*/
public class DescribeNatGatewaysRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatGatewayId")
private String natGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NetworkId")
private String networkId;
@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("VSwitchId")
private String vSwitchId;
private DescribeNatGatewaysRequest(Builder builder) {
super(builder);
this.ensRegionId = builder.ensRegionId;
this.name = builder.name;
this.natGatewayId = builder.natGatewayId;
this.networkId = builder.networkId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.vSwitchId = builder.vSwitchId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeNatGatewaysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return natGatewayId
*/
public String getNatGatewayId() {
return this.natGatewayId;
}
/**
* @return networkId
*/
public String getNetworkId() {
return this.networkId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
public static final class Builder extends Request.Builder {
private String ensRegionId;
private String name;
private String natGatewayId;
private String networkId;
private Integer pageNumber;
private Integer pageSize;
private String vSwitchId;
private Builder() {
super();
}
private Builder(DescribeNatGatewaysRequest request) {
super(request);
this.ensRegionId = request.ensRegionId;
this.name = request.name;
this.natGatewayId = request.natGatewayId;
this.networkId = request.networkId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.vSwitchId = request.vSwitchId;
}
/**
* The ID of the Edge Node Service (ENS) node.
*
* example:
* cn-wuxi-9
*/
public Builder ensRegionId(String ensRegionId) {
this.putQueryParameter("EnsRegionId", ensRegionId);
this.ensRegionId = ensRegionId;
return this;
}
/**
* The name of the NAT gateway.
*
* example:
* test0
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* The ID of the NAT gateway.
*
* example:
* nat-5t7nh1cfm6kxiszlttr38****
*/
public Builder natGatewayId(String natGatewayId) {
this.putQueryParameter("NatGatewayId", natGatewayId);
this.natGatewayId = natGatewayId;
return this;
}
/**
* The ID of the network.
*
* example:
* n-2zeuphj08tt7q3brd****
*/
public Builder networkId(String networkId) {
this.putQueryParameter("NetworkId", networkId);
this.networkId = networkId;
return this;
}
/**
* The page number. Pages start from page 1.
* Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page. The maximum value is 100.
* Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The ID of the vSwitch.
*
* example:
* vsw-5rllcjb3ol6duzjdnbm1o****
*/
public Builder vSwitchId(String vSwitchId) {
this.putQueryParameter("VSwitchId", vSwitchId);
this.vSwitchId = vSwitchId;
return this;
}
@Override
public DescribeNatGatewaysRequest build() {
return new DescribeNatGatewaysRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy