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

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

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

import com.aliyun.core.annotation.*;
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 { @NameInMap("Regions") private Regions regions; @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 Regions getRegions() { return this.regions; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Regions regions; private String requestId; /** * Regions. */ public Builder regions(Regions regions) { this.regions = regions; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRegionsResponseBody build() { return new DescribeRegionsResponseBody(this); } } public static class Region extends TeaModel { @NameInMap("LocalName") private String localName; @NameInMap("RegionEndpoint") private String regionEndpoint; @NameInMap("RegionId") private String regionId; private Region(Builder builder) { this.localName = builder.localName; this.regionEndpoint = builder.regionEndpoint; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static Region create() { return builder().build(); } /** * @return localName */ public String getLocalName() { return this.localName; } /** * @return regionEndpoint */ public String getRegionEndpoint() { return this.regionEndpoint; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private String localName; private String regionEndpoint; private String regionId; /** * LocalName. */ public Builder localName(String localName) { this.localName = localName; return this; } /** * RegionEndpoint. */ public Builder regionEndpoint(String regionEndpoint) { this.regionEndpoint = regionEndpoint; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public Region build() { return new Region(this); } } } public static class Regions extends TeaModel { @NameInMap("Region") private java.util.List < Region> region; private Regions(Builder builder) { this.region = builder.region; } public static Builder builder() { return new Builder(); } public static Regions create() { return builder().build(); } /** * @return region */ public java.util.List < Region> getRegion() { return this.region; } public static final class Builder { private java.util.List < Region> region; /** * Region. */ public Builder region(java.util.List < Region> region) { this.region = region; return this; } public Regions build() { return new Regions(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy