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

com.aliyun.sdk.service.ecs20140526.models.DescribeVpcsResponseBody Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// 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 DescribeVpcsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeVpcsResponseBody

*/ public class DescribeVpcsResponseBody 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("Vpcs") private Vpcs vpcs; private DescribeVpcsResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.vpcs = builder.vpcs; } public static Builder builder() { return new Builder(); } public static DescribeVpcsResponseBody 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 vpcs */ public Vpcs getVpcs() { return this.vpcs; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Vpcs vpcs; /** * 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; } /** * Vpcs. */ public Builder vpcs(Vpcs vpcs) { this.vpcs = vpcs; return this; } public DescribeVpcsResponseBody build() { return new DescribeVpcsResponseBody(this); } } public static class UserCidrs extends TeaModel { @com.aliyun.core.annotation.NameInMap("UserCidr") private java.util.List < String > userCidr; private UserCidrs(Builder builder) { this.userCidr = builder.userCidr; } public static Builder builder() { return new Builder(); } public static UserCidrs create() { return builder().build(); } /** * @return userCidr */ public java.util.List < String > getUserCidr() { return this.userCidr; } public static final class Builder { private java.util.List < String > userCidr; /** * UserCidr. */ public Builder userCidr(java.util.List < String > userCidr) { this.userCidr = userCidr; return this; } public UserCidrs build() { return new UserCidrs(this); } } } public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("VSwitchId") private java.util.List < String > vSwitchId; private VSwitchIds(Builder builder) { this.vSwitchId = builder.vSwitchId; } public static Builder builder() { return new Builder(); } public static VSwitchIds create() { return builder().build(); } /** * @return vSwitchId */ public java.util.List < String > getVSwitchId() { return this.vSwitchId; } public static final class Builder { private java.util.List < String > vSwitchId; /** * VSwitchId. */ public Builder vSwitchId(java.util.List < String > vSwitchId) { this.vSwitchId = vSwitchId; return this; } public VSwitchIds build() { return new VSwitchIds(this); } } } public static class Vpc extends TeaModel { @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("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("UserCidrs") private UserCidrs userCidrs; @com.aliyun.core.annotation.NameInMap("VRouterId") private String vRouterId; @com.aliyun.core.annotation.NameInMap("VSwitchIds") private VSwitchIds vSwitchIds; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; private Vpc(Builder builder) { this.cidrBlock = builder.cidrBlock; this.creationTime = builder.creationTime; this.description = builder.description; this.isDefault = builder.isDefault; this.regionId = builder.regionId; this.status = builder.status; this.userCidrs = builder.userCidrs; this.vRouterId = builder.vRouterId; this.vSwitchIds = builder.vSwitchIds; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; } public static Builder builder() { return new Builder(); } public static Vpc create() { return builder().build(); } /** * @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 regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return userCidrs */ public UserCidrs getUserCidrs() { return this.userCidrs; } /** * @return vRouterId */ public String getVRouterId() { return this.vRouterId; } /** * @return vSwitchIds */ public VSwitchIds getVSwitchIds() { return this.vSwitchIds; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } public static final class Builder { private String cidrBlock; private String creationTime; private String description; private Boolean isDefault; private String regionId; private String status; private UserCidrs userCidrs; private String vRouterId; private VSwitchIds vSwitchIds; private String vpcId; private String vpcName; /** * 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; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * UserCidrs. */ public Builder userCidrs(UserCidrs userCidrs) { this.userCidrs = userCidrs; return this; } /** * VRouterId. */ public Builder vRouterId(String vRouterId) { this.vRouterId = vRouterId; return this; } /** * VSwitchIds. */ public Builder vSwitchIds(VSwitchIds vSwitchIds) { this.vSwitchIds = vSwitchIds; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * VpcName. */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } public Vpc build() { return new Vpc(this); } } } public static class Vpcs extends TeaModel { @com.aliyun.core.annotation.NameInMap("Vpc") private java.util.List < Vpc> vpc; private Vpcs(Builder builder) { this.vpc = builder.vpc; } public static Builder builder() { return new Builder(); } public static Vpcs create() { return builder().build(); } /** * @return vpc */ public java.util.List < Vpc> getVpc() { return this.vpc; } public static final class Builder { private java.util.List < Vpc> vpc; /** * Vpc. */ public Builder vpc(java.util.List < Vpc> vpc) { this.vpc = vpc; return this; } public Vpcs build() { return new Vpcs(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy