com.aliyun.sdk.service.ecs20140526.models.DescribeVSwitchesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
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("VSwitches")
private VSwitches vSwitches;
private DescribeVSwitchesResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
this.vSwitches = builder.vSwitches;
}
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 vSwitches
*/
public VSwitches getVSwitches() {
return this.vSwitches;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
private VSwitches vSwitches;
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* VSwitches.
*/
public Builder vSwitches(VSwitches vSwitches) {
this.vSwitches = vSwitches;
return this;
}
public DescribeVSwitchesResponseBody build() {
return new DescribeVSwitchesResponseBody(this);
}
}
/**
*
* {@link DescribeVSwitchesResponseBody} extends {@link TeaModel}
*
* DescribeVSwitchesResponseBody
*/
public static class VSwitch 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("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("IsDefault")
private Boolean isDefault;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@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;
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private VSwitch(Builder builder) {
this.availableIpAddressCount = builder.availableIpAddressCount;
this.cidrBlock = builder.cidrBlock;
this.creationTime = builder.creationTime;
this.description = builder.description;
this.isDefault = builder.isDefault;
this.resourceGroupId = builder.resourceGroupId;
this.status = builder.status;
this.vSwitchId = builder.vSwitchId;
this.vSwitchName = builder.vSwitchName;
this.vpcId = builder.vpcId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static VSwitch create() {
return builder().build();
}
/**
* @return availableIpAddressCount
*/
public Long getAvailableIpAddressCount() {
return this.availableIpAddressCount;
}
/**
* @return cidrBlock
*/
public String getCidrBlock() {
return this.cidrBlock;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return isDefault
*/
public Boolean getIsDefault() {
return this.isDefault;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vSwitchName
*/
public String getVSwitchName() {
return this.vSwitchName;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private Long availableIpAddressCount;
private String cidrBlock;
private String creationTime;
private String description;
private Boolean isDefault;
private String resourceGroupId;
private String status;
private String vSwitchId;
private String vSwitchName;
private String vpcId;
private String zoneId;
/**
* AvailableIpAddressCount.
*/
public Builder availableIpAddressCount(Long availableIpAddressCount) {
this.availableIpAddressCount = availableIpAddressCount;
return this;
}
/**
* CidrBlock.
*/
public Builder cidrBlock(String cidrBlock) {
this.cidrBlock = cidrBlock;
return this;
}
/**
* CreationTime.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* IsDefault.
*/
public Builder isDefault(Boolean isDefault) {
this.isDefault = isDefault;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* VSwitchName.
*/
public Builder vSwitchName(String vSwitchName) {
this.vSwitchName = vSwitchName;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public VSwitch build() {
return new VSwitch(this);
}
}
}
/**
*
* {@link DescribeVSwitchesResponseBody} extends {@link TeaModel}
*
* DescribeVSwitchesResponseBody
*/
public static class VSwitches extends TeaModel {
@com.aliyun.core.annotation.NameInMap("VSwitch")
private java.util.List < VSwitch> vSwitch;
private VSwitches(Builder builder) {
this.vSwitch = builder.vSwitch;
}
public static Builder builder() {
return new Builder();
}
public static VSwitches create() {
return builder().build();
}
/**
* @return vSwitch
*/
public java.util.List < VSwitch> getVSwitch() {
return this.vSwitch;
}
public static final class Builder {
private java.util.List < VSwitch> vSwitch;
/**
* VSwitch.
*/
public Builder vSwitch(java.util.List < VSwitch> vSwitch) {
this.vSwitch = vSwitch;
return this;
}
public VSwitches build() {
return new VSwitches(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy