com.aliyun.sdk.service.polardb20170801.models.DescribeVSwitchesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.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 DescribeVSwitchesResponseBody} extends {@link TeaModel}
*
* DescribeVSwitchesResponseBody
*/
public class DescribeVSwitchesResponseBody 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("TotalCount")
private Integer totalCount;
@com.aliyun.core.annotation.NameInMap("VSwitchs")
private java.util.List vSwitchs;
private DescribeVSwitchesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
this.vSwitchs = builder.vSwitchs;
}
public static Builder builder() {
return new Builder();
}
public static DescribeVSwitchesResponseBody 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 totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return vSwitchs
*/
public java.util.List getVSwitchs() {
return this.vSwitchs;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
private java.util.List vSwitchs;
/**
* The page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*
* example:
* 9A572171-4E27-40D1-BD36-D26C9E71E29E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The number of returned entries.
*
* example:
* 1
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* The details of the vSwitch.
*/
public Builder vSwitchs(java.util.List vSwitchs) {
this.vSwitchs = vSwitchs;
return this;
}
public DescribeVSwitchesResponseBody build() {
return new DescribeVSwitchesResponseBody(this);
}
}
/**
*
* {@link DescribeVSwitchesResponseBody} extends {@link TeaModel}
*
* DescribeVSwitchesResponseBody
*/
public static class VSwitchs extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AvailableIpAddressCount")
private Long availableIpAddressCount;
@com.aliyun.core.annotation.NameInMap("CidrBlock")
private String cidrBlock;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private Boolean isDefault;
@com.aliyun.core.annotation.NameInMap("IzNo")
private String izNo;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("VSwitchName")
private String vSwitchName;
private VSwitchs(Builder builder) {
this.availableIpAddressCount = builder.availableIpAddressCount;
this.cidrBlock = builder.cidrBlock;
this.description = builder.description;
this.isDefault = builder.isDefault;
this.izNo = builder.izNo;
this.status = builder.status;
this.vSwitchId = builder.vSwitchId;
this.vSwitchName = builder.vSwitchName;
}
public static Builder builder() {
return new Builder();
}
public static VSwitchs create() {
return builder().build();
}
/**
* @return availableIpAddressCount
*/
public Long getAvailableIpAddressCount() {
return this.availableIpAddressCount;
}
/**
* @return cidrBlock
*/
public String getCidrBlock() {
return this.cidrBlock;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return isDefault
*/
public Boolean getIsDefault() {
return this.isDefault;
}
/**
* @return izNo
*/
public String getIzNo() {
return this.izNo;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vSwitchName
*/
public String getVSwitchName() {
return this.vSwitchName;
}
public static final class Builder {
private Long availableIpAddressCount;
private String cidrBlock;
private String description;
private Boolean isDefault;
private String izNo;
private String status;
private String vSwitchId;
private String vSwitchName;
/**
* The number of available IP addresses in the vSwitch.
*
* example:
* 1
*/
public Builder availableIpAddressCount(Long availableIpAddressCount) {
this.availableIpAddressCount = availableIpAddressCount;
return this;
}
/**
* The IPv4 CIDR block of the vSwitch.
*
* example:
* 172.16.0.0/24
*/
public Builder cidrBlock(String cidrBlock) {
this.cidrBlock = cidrBlock;
return this;
}
/**
* The descriptions of the vSwitch.
*
* example:
* vSwitchDescription
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* Indicates whether the vSwitch is the default vSwitch. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
public Builder isDefault(Boolean isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* The zone to which the NAT gateway belongs.
*
* example:
* cn-hangzhou-b
*/
public Builder izNo(String izNo) {
this.izNo = izNo;
return this;
}
/**
* The status of the vSwitch. Valid values:
*
* - Pending: The vSwitch is being configured.
* - Available: The vSwitch is available.
*
*
* example:
* Available
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* The vSwitch ID.
*
* example:
* vsw-25bcdxs7pv1****
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* The name of the vSwitch.
*
* example:
* vSwitch
*/
public Builder vSwitchName(String vSwitchName) {
this.vSwitchName = vSwitchName;
return this;
}
public VSwitchs build() {
return new VSwitchs(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy