All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.polardb20170801.models.DescribeVSwitchesResponseBody Maven / Gradle / Ivy

There is a newer version: 4.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.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("VSwitchs") private java.util.List < VSwitchs> 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 < VSwitchs> 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> vSwitchs; /** * The page number. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries per page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The number of returned entries. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * The details of the vSwitch. */ public Builder vSwitchs(java.util.List < VSwitchs> vSwitchs) { this.vSwitchs = vSwitchs; return this; } public DescribeVSwitchesResponseBody build() { return new DescribeVSwitchesResponseBody(this); } } 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. */ public Builder availableIpAddressCount(Long availableIpAddressCount) { this.availableIpAddressCount = availableIpAddressCount; return this; } /** * The IPv4 CIDR block of the vSwitch. */ public Builder cidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; return this; } /** * The descriptions of the vSwitch. */ public Builder description(String description) { this.description = description; return this; } /** * Indicates whether the vSwitch is the default vSwitch. Valid values: *

* * * **true** * * **false** */ public Builder isDefault(Boolean isDefault) { this.isDefault = isDefault; return this; } /** * The zone to which the NAT gateway belongs. */ 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. */ public Builder status(String status) { this.status = status; return this; } /** * The vSwitch ID. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * The name of the 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