com.aliyun.ens20171110.models.DescribeEnsRegionsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ens20171110 Show documentation
Show all versions of ens20171110 Show documentation
Alibaba Cloud edge node service (20171110) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeEnsRegionsResponseBody extends TeaModel {
/**
* The service code. 0 is returned for a successful request. An error code is returned for a failed request.
*
* example:
* 0
*/
@NameInMap("Code")
public Integer code;
/**
* The information about the regions.
*/
@NameInMap("EnsRegions")
public DescribeEnsRegionsResponseBodyEnsRegions ensRegions;
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeEnsRegionsResponseBody build(java.util.Map map) throws Exception {
DescribeEnsRegionsResponseBody self = new DescribeEnsRegionsResponseBody();
return TeaModel.build(map, self);
}
public DescribeEnsRegionsResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeEnsRegionsResponseBody setEnsRegions(DescribeEnsRegionsResponseBodyEnsRegions ensRegions) {
this.ensRegions = ensRegions;
return this;
}
public DescribeEnsRegionsResponseBodyEnsRegions getEnsRegions() {
return this.ensRegions;
}
public DescribeEnsRegionsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions extends TeaModel {
/**
* The code of the region.
*
* example:
* NorthEastChina
*/
@NameInMap("Area")
public String area;
/**
* The name of the node.
*
* example:
* NorthChina
*/
@NameInMap("EnName")
public String enName;
/**
* The ID of the node.
*
* example:
* cn-dalian-unicom
*/
@NameInMap("EnsRegionId")
public String ensRegionId;
/**
* The name of the node.
*
* example:
* Dalian Unicom
*/
@NameInMap("Name")
public String name;
/**
* The province where the node is deployed.
*
* example:
* Liaoning Province
*/
@NameInMap("Province")
public String province;
public static DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions build(java.util.Map map) throws Exception {
DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions self = new DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions();
return TeaModel.build(map, self);
}
public DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions setArea(String area) {
this.area = area;
return this;
}
public String getArea() {
return this.area;
}
public DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions setEnName(String enName) {
this.enName = enName;
return this;
}
public String getEnName() {
return this.enName;
}
public DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions setEnsRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public String getEnsRegionId() {
return this.ensRegionId;
}
public DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeEnsRegionsResponseBodyEnsRegionsEnsRegions setProvince(String province) {
this.province = province;
return this;
}
public String getProvince() {
return this.province;
}
}
public static class DescribeEnsRegionsResponseBodyEnsRegions extends TeaModel {
@NameInMap("EnsRegions")
public java.util.List ensRegions;
public static DescribeEnsRegionsResponseBodyEnsRegions build(java.util.Map map) throws Exception {
DescribeEnsRegionsResponseBodyEnsRegions self = new DescribeEnsRegionsResponseBodyEnsRegions();
return TeaModel.build(map, self);
}
public DescribeEnsRegionsResponseBodyEnsRegions setEnsRegions(java.util.List ensRegions) {
this.ensRegions = ensRegions;
return this;
}
public java.util.List getEnsRegions() {
return this.ensRegions;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy