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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

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

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

DescribeZonesResponseBody

*/ public class DescribeZonesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Zones") private Zones zones; private DescribeZonesResponseBody(Builder builder) { this.requestId = builder.requestId; this.zones = builder.zones; } public static Builder builder() { return new Builder(); } public static DescribeZonesResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return zones */ public Zones getZones() { return this.zones; } public static final class Builder { private String requestId; private Zones zones; /** *

The ID of the request.

* * example: *

9324B68F-9863-5722-A0FD-0798E2B02A0E

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The zones available in the current region.

* * example: *

{"Zone": [{"ZoneId": "cn-hangzhou-i"}]}

*/ public Builder zones(Zones zones) { this.zones = zones; return this; } public DescribeZonesResponseBody build() { return new DescribeZonesResponseBody(this); } } /** * * {@link DescribeZonesResponseBody} extends {@link TeaModel} * *

DescribeZonesResponseBody

*/ public static class Zone extends TeaModel { @com.aliyun.core.annotation.NameInMap("LocalName") private String localName; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private Zone(Builder builder) { this.localName = builder.localName; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Zone create() { return builder().build(); } /** * @return localName */ public String getLocalName() { return this.localName; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String localName; private String zoneId; /** *

The name of the zone.

* * example: *

China (Hangzhou) Multi-zone 2(j,g)

*/ public Builder localName(String localName) { this.localName = localName; return this; } /** *

The ID of the zone.

* * example: *

cn-hangzhou-MAZ2(j,g)

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Zone build() { return new Zone(this); } } } /** * * {@link DescribeZonesResponseBody} extends {@link TeaModel} * *

DescribeZonesResponseBody

*/ public static class Zones extends TeaModel { @com.aliyun.core.annotation.NameInMap("Zone") private java.util.List zone; private Zones(Builder builder) { this.zone = builder.zone; } public static Builder builder() { return new Builder(); } public static Zones create() { return builder().build(); } /** * @return zone */ public java.util.List getZone() { return this.zone; } public static final class Builder { private java.util.List zone; /** * Zone. */ public Builder zone(java.util.List zone) { this.zone = zone; return this; } public Zones build() { return new Zones(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy