com.aliyun.sdk.service.ess20220222.models.DescribeRegionsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ess20220222 Show documentation
Show all versions of alibabacloud-ess20220222 Show documentation
Alibaba Cloud Ess (20220222) Async SDK for Java
The 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.
*
* example:
* 73469C7-AA6F-4DC5-B3DB-A3DC0DE3****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeRegionsResponseBody build() {
return new DescribeRegionsResponseBody(this);
}
}
/**
*
* {@link DescribeRegionsResponseBody} extends {@link TeaModel}
*
* DescribeRegionsResponseBody
*/
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
*
*
* example:
* false
*/
public Builder classicUnavailable(Boolean classicUnavailable) {
this.classicUnavailable = classicUnavailable;
return this;
}
/**
* The region name.
*
* example:
* China (Beijing)
*/
public Builder localName(String localName) {
this.localName = localName;
return this;
}
/**
* The region endpoint.
*
* example:
* ess.aliyuncs.com
*/
public Builder regionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
return this;
}
/**
* The region ID.
*
* example:
* cn-beijing
*/
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
*
*
* example:
* false
*/
public Builder vpcUnavailable(Boolean vpcUnavailable) {
this.vpcUnavailable = vpcUnavailable;
return this;
}
public Regions build() {
return new Regions(this);
}
}
}
}