com.aliyun.sdk.service.cloudapi20160714.models.DescribeZonesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
// 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 DescribeZonesResponseBody} extends {@link TeaModel}
*
* DescribeZonesResponseBody
*/
public class DescribeZonesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@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;
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Zones.
*/
public Builder zones(Zones zones) {
this.zones = zones;
return this;
}
public DescribeZonesResponseBody build() {
return new DescribeZonesResponseBody(this);
}
}
public static class Zone extends TeaModel {
@NameInMap("LocalName")
private String localName;
@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;
/**
* LocalName.
*/
public Builder localName(String localName) {
this.localName = localName;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public Zone build() {
return new Zone(this);
}
}
}
public static class Zones extends TeaModel {
@NameInMap("Zone")
private java.util.List < Zone> 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 < Zone> getZone() {
return this.zone;
}
public static final class Builder {
private java.util.List < Zone> zone;
/**
* Zone.
*/
public Builder zone(java.util.List < Zone> zone) {
this.zone = zone;
return this;
}
public Zones build() {
return new Zones(this);
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy