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

com.aliyun.sdk.service.ess20220222.models.DescribeRegionsResponseBody Maven / Gradle / Ivy

There is a newer version: 1.0.25
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ess20220222.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeRegionsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeRegionsResponseBody

*/ public class DescribeRegionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Regions") private java.util.List < Regions> regions; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRegionsResponseBody(Builder builder) { this.regions = builder.regions; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRegionsResponseBody create() { return builder().build(); } /** * @return regions */ public java.util.List < Regions> getRegions() { return this.regions; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Regions> regions; private String requestId; /** * The collection of region information. */ public Builder regions(java.util.List < Regions> regions) { this.regions = regions; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRegionsResponseBody build() { return new DescribeRegionsResponseBody(this); } } public static class Regions extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClassicUnavailable") private Boolean classicUnavailable; @com.aliyun.core.annotation.NameInMap("LocalName") private String localName; @com.aliyun.core.annotation.NameInMap("RegionEndpoint") private String regionEndpoint; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("VpcUnavailable") private Boolean vpcUnavailable; private Regions(Builder builder) { this.classicUnavailable = builder.classicUnavailable; this.localName = builder.localName; this.regionEndpoint = builder.regionEndpoint; this.regionId = builder.regionId; this.vpcUnavailable = builder.vpcUnavailable; } public static Builder builder() { return new Builder(); } public static Regions create() { return builder().build(); } /** * @return classicUnavailable */ public Boolean getClassicUnavailable() { return this.classicUnavailable; } /** * @return localName */ public String getLocalName() { return this.localName; } /** * @return regionEndpoint */ public String getRegionEndpoint() { return this.regionEndpoint; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcUnavailable */ public Boolean getVpcUnavailable() { return this.vpcUnavailable; } public static final class Builder { private Boolean classicUnavailable; private String localName; private String regionEndpoint; private String regionId; private Boolean vpcUnavailable; /** * Indicates whether the current region supports scaling groups that reside in the classic network. Valid values: *

* * * true * * false */ public Builder classicUnavailable(Boolean classicUnavailable) { this.classicUnavailable = classicUnavailable; return this; } /** * The region name. */ public Builder localName(String localName) { this.localName = localName; return this; } /** * The region endpoint. */ public Builder regionEndpoint(String regionEndpoint) { this.regionEndpoint = regionEndpoint; return this; } /** * The region ID. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * Indicates whether the current region supports scaling groups that reside in virtual private clouds (VPCs). Valid values: *

* * * true * * false */ public Builder vpcUnavailable(Boolean vpcUnavailable) { this.vpcUnavailable = vpcUnavailable; return this; } public Regions build() { return new Regions(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy