com.aliyun.rds20140815.models.DescribeVSwitchesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeVSwitchesResponseBody extends TeaModel {
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries returned on each page. The value of this parameter is the same as the value of the PageSize parameter in the request parameters.
*
* example:
* 30
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The request ID.
*
* example:
* 8A68AEA1-AFBD-53F8-9BBB-06555EAE5C0E
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of returned entries.
*
* example:
* 2
*/
@NameInMap("TotalCount")
public Integer totalCount;
/**
* The information about the vSwitch.
*/
@NameInMap("VSwitchs")
public java.util.List vSwitchs;
public static DescribeVSwitchesResponseBody build(java.util.Map map) throws Exception {
DescribeVSwitchesResponseBody self = new DescribeVSwitchesResponseBody();
return TeaModel.build(map, self);
}
public DescribeVSwitchesResponseBody setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescribeVSwitchesResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeVSwitchesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeVSwitchesResponseBody setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
public DescribeVSwitchesResponseBody setVSwitchs(java.util.List vSwitchs) {
this.vSwitchs = vSwitchs;
return this;
}
public java.util.List getVSwitchs() {
return this.vSwitchs;
}
public static class DescribeVSwitchesResponseBodyVSwitchs extends TeaModel {
/**
* The number of available IP addresses in the vSwitch.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("AvailableIpAddressCount")
public String availableIpAddressCount;
/**
* The CIDR block of the vSwitch.
*
* example:
* 172.16.0.0/24
*/
@NameInMap("CidrBlock")
public String cidrBlock;
/**
* The description of the vSwitch.
*
* example:
* VSwitchDescription
*/
@NameInMap("Description")
public String description;
/**
* Indicates whether the vSwitch is the default vSwitch. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("IsDefault")
public Boolean isDefault;
/**
* The ID of the zone to which the vSwitch belongs.
*
* example:
* cn-hangzhou-h
*/
@NameInMap("IzNo")
public String izNo;
/**
* The status of the vSwitch. Valid values:
*
* - Pending: The vSwitch is being specified.
* - Available: The vSwitch is available.
*
*
* example:
* Available
*/
@NameInMap("Status")
public String status;
/**
* The vSwitch ID.
*
* example:
* vsw-bp1pnaz94xc**********
*/
@NameInMap("VSwitchId")
public String vSwitchId;
/**
* The vSwitch name.
*
* example:
* test
*/
@NameInMap("VSwitchName")
public String vSwitchName;
public static DescribeVSwitchesResponseBodyVSwitchs build(java.util.Map map) throws Exception {
DescribeVSwitchesResponseBodyVSwitchs self = new DescribeVSwitchesResponseBodyVSwitchs();
return TeaModel.build(map, self);
}
public DescribeVSwitchesResponseBodyVSwitchs setAvailableIpAddressCount(String availableIpAddressCount) {
this.availableIpAddressCount = availableIpAddressCount;
return this;
}
public String getAvailableIpAddressCount() {
return this.availableIpAddressCount;
}
public DescribeVSwitchesResponseBodyVSwitchs setCidrBlock(String cidrBlock) {
this.cidrBlock = cidrBlock;
return this;
}
public String getCidrBlock() {
return this.cidrBlock;
}
public DescribeVSwitchesResponseBodyVSwitchs setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribeVSwitchesResponseBodyVSwitchs setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
return this;
}
public Boolean getIsDefault() {
return this.isDefault;
}
public DescribeVSwitchesResponseBodyVSwitchs setIzNo(String izNo) {
this.izNo = izNo;
return this;
}
public String getIzNo() {
return this.izNo;
}
public DescribeVSwitchesResponseBodyVSwitchs setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribeVSwitchesResponseBodyVSwitchs setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
public String getVSwitchId() {
return this.vSwitchId;
}
public DescribeVSwitchesResponseBodyVSwitchs setVSwitchName(String vSwitchName) {
this.vSwitchName = vSwitchName;
return this;
}
public String getVSwitchName() {
return this.vSwitchName;
}
}
}