com.aliyun.sdk.service.ens20171110.models.DescribeSecondaryPublicIpAddressesResponseBody 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 DescribeSecondaryPublicIpAddressesResponseBody} extends {@link TeaModel}
*
* DescribeSecondaryPublicIpAddressesResponseBody
*/
public class DescribeSecondaryPublicIpAddressesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecondaryPublicIpAddresses")
private java.util.List secondaryPublicIpAddresses;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeSecondaryPublicIpAddressesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.secondaryPublicIpAddresses = builder.secondaryPublicIpAddresses;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSecondaryPublicIpAddressesResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return secondaryPublicIpAddresses
*/
public java.util.List getSecondaryPublicIpAddresses() {
return this.secondaryPublicIpAddresses;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private java.util.List secondaryPublicIpAddresses;
private Integer totalCount;
/**
* The page number returned.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 50
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The array of returned secondary IP addresses.
*/
public Builder secondaryPublicIpAddresses(java.util.List secondaryPublicIpAddresses) {
this.secondaryPublicIpAddresses = secondaryPublicIpAddresses;
return this;
}
/**
* The total number of entries returned.
*
* example:
* 13
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeSecondaryPublicIpAddressesResponseBody build() {
return new DescribeSecondaryPublicIpAddressesResponseBody(this);
}
}
/**
*
* {@link DescribeSecondaryPublicIpAddressesResponseBody} extends {@link TeaModel}
*
* DescribeSecondaryPublicIpAddressesResponseBody
*/
public static class SecondaryPublicIpAddresses extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CidrMask")
private Integer cidrMask;
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.NameInMap("Gateway")
private String gateway;
@com.aliyun.core.annotation.NameInMap("IpVersion")
private String ipVersion;
@com.aliyun.core.annotation.NameInMap("Isp")
private String isp;
@com.aliyun.core.annotation.NameInMap("SecondaryPublicIpAddress")
private String secondaryPublicIpAddress;
@com.aliyun.core.annotation.NameInMap("SecondaryPublicIpId")
private String secondaryPublicIpId;
private SecondaryPublicIpAddresses(Builder builder) {
this.cidrMask = builder.cidrMask;
this.creationTime = builder.creationTime;
this.ensRegionId = builder.ensRegionId;
this.gateway = builder.gateway;
this.ipVersion = builder.ipVersion;
this.isp = builder.isp;
this.secondaryPublicIpAddress = builder.secondaryPublicIpAddress;
this.secondaryPublicIpId = builder.secondaryPublicIpId;
}
public static Builder builder() {
return new Builder();
}
public static SecondaryPublicIpAddresses create() {
return builder().build();
}
/**
* @return cidrMask
*/
public Integer getCidrMask() {
return this.cidrMask;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return gateway
*/
public String getGateway() {
return this.gateway;
}
/**
* @return ipVersion
*/
public String getIpVersion() {
return this.ipVersion;
}
/**
* @return isp
*/
public String getIsp() {
return this.isp;
}
/**
* @return secondaryPublicIpAddress
*/
public String getSecondaryPublicIpAddress() {
return this.secondaryPublicIpAddress;
}
/**
* @return secondaryPublicIpId
*/
public String getSecondaryPublicIpId() {
return this.secondaryPublicIpId;
}
public static final class Builder {
private Integer cidrMask;
private String creationTime;
private String ensRegionId;
private String gateway;
private String ipVersion;
private String isp;
private String secondaryPublicIpAddress;
private String secondaryPublicIpId;
/**
* The subnet mask of the CIDR block.
*
* example:
* 24
*/
public Builder cidrMask(Integer cidrMask) {
this.cidrMask = cidrMask;
return this;
}
/**
* The time when the secondary public IP address was created. The time is displayed in UTC.
*
* example:
* 2023-07-25T09:43:49Z
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The ID of the edge node.
*
* example:
* cn-beijing-15
*/
public Builder ensRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
/**
* The gateway.
*
* example:
* 12.XXX.XXX.1
*/
public Builder gateway(String gateway) {
this.gateway = gateway;
return this;
}
/**
* The version of the IP address. Valid values:
*
* - ipv4
* - ipv6
*
*
* example:
* ipv4
*/
public Builder ipVersion(String ipVersion) {
this.ipVersion = ipVersion;
return this;
}
/**
* The Internet service provider. Valid values:
*
* - cmcc: China Mobile.
* - unicom: China Unicom.
* - telecom: China Telecom.
*
*
* example:
* telecom
*/
public Builder isp(String isp) {
this.isp = isp;
return this;
}
/**
* The secondary public IP address.
*
* example:
* 12.XXX.XXX.4
*/
public Builder secondaryPublicIpAddress(String secondaryPublicIpAddress) {
this.secondaryPublicIpAddress = secondaryPublicIpAddress;
return this;
}
/**
* The ID of the secondary public IP address.
*
* example:
* spi-5wys0pio93c9f9ukzj2f2fwyr
*/
public Builder secondaryPublicIpId(String secondaryPublicIpId) {
this.secondaryPublicIpId = secondaryPublicIpId;
return this;
}
public SecondaryPublicIpAddresses build() {
return new SecondaryPublicIpAddresses(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy