com.aliyun.sdk.service.ens20171110.models.DescribeAvailableResourceInfoResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-ens20171110 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public class DescribeAvailableResourceInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Images")
private Images images;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SupportResources")
private SupportResources supportResources;
private DescribeAvailableResourceInfoResponseBody(Builder builder) {
this.images = builder.images;
this.requestId = builder.requestId;
this.supportResources = builder.supportResources;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAvailableResourceInfoResponseBody create() {
return builder().build();
}
/**
* @return images
*/
public Images getImages() {
return this.images;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return supportResources
*/
public SupportResources getSupportResources() {
return this.supportResources;
}
public static final class Builder {
private Images images;
private String requestId;
private SupportResources supportResources;
/**
* The information about the image.
*/
public Builder images(Images images) {
this.images = images;
return this;
}
/**
* The request ID.
*
* example:
* 8629F679-B51D-4194-A1CC-5D8F504C362B
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The specifications of resources that you can purchase.
*/
public Builder supportResources(SupportResources supportResources) {
this.supportResources = supportResources;
return this;
}
public DescribeAvailableResourceInfoResponseBody build() {
return new DescribeAvailableResourceInfoResponseBody(this);
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class Image extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ImageId")
private String imageId;
@com.aliyun.core.annotation.NameInMap("ImageName")
private String imageName;
@com.aliyun.core.annotation.NameInMap("ImageSize")
private Integer imageSize;
private Image(Builder builder) {
this.imageId = builder.imageId;
this.imageName = builder.imageName;
this.imageSize = builder.imageSize;
}
public static Builder builder() {
return new Builder();
}
public static Image create() {
return builder().build();
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return imageName
*/
public String getImageName() {
return this.imageName;
}
/**
* @return imageSize
*/
public Integer getImageSize() {
return this.imageSize;
}
public static final class Builder {
private String imageId;
private String imageName;
private Integer imageSize;
/**
* The ID of the image.
*
* example:
* centos_6_08_64_20G_a****
*/
public Builder imageId(String imageId) {
this.imageId = imageId;
return this;
}
/**
* The name of the image.
*
* example:
* centos_6_08_64_20G_a****
*/
public Builder imageName(String imageName) {
this.imageName = imageName;
return this;
}
/**
* The size of the image. Unit: GB.
*
* example:
* 20
*/
public Builder imageSize(Integer imageSize) {
this.imageSize = imageSize;
return this;
}
public Image build() {
return new Image(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class Images extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Image")
private java.util.List image;
private Images(Builder builder) {
this.image = builder.image;
}
public static Builder builder() {
return new Builder();
}
public static Images create() {
return builder().build();
}
/**
* @return image
*/
public java.util.List getImage() {
return this.image;
}
public static final class Builder {
private java.util.List image;
/**
* Image.
*/
public Builder image(java.util.List image) {
this.image = image;
return this;
}
public Images build() {
return new Images(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class BandwidthTypes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BandwidthType")
private java.util.List bandwidthType;
private BandwidthTypes(Builder builder) {
this.bandwidthType = builder.bandwidthType;
}
public static Builder builder() {
return new Builder();
}
public static BandwidthTypes create() {
return builder().build();
}
/**
* @return bandwidthType
*/
public java.util.List getBandwidthType() {
return this.bandwidthType;
}
public static final class Builder {
private java.util.List bandwidthType;
/**
* BandwidthType.
*/
public Builder bandwidthType(java.util.List bandwidthType) {
this.bandwidthType = bandwidthType;
return this;
}
public BandwidthTypes build() {
return new BandwidthTypes(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class EnsRegionIds extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private java.util.List ensRegionId;
private EnsRegionIds(Builder builder) {
this.ensRegionId = builder.ensRegionId;
}
public static Builder builder() {
return new Builder();
}
public static EnsRegionIds create() {
return builder().build();
}
/**
* @return ensRegionId
*/
public java.util.List getEnsRegionId() {
return this.ensRegionId;
}
public static final class Builder {
private java.util.List ensRegionId;
/**
* EnsRegionId.
*/
public Builder ensRegionId(java.util.List ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public EnsRegionIds build() {
return new EnsRegionIds(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class EnsRegionId extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Area")
private String area;
@com.aliyun.core.annotation.NameInMap("EnName")
private String enName;
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.NameInMap("Isp")
private String isp;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Province")
private String province;
private EnsRegionId(Builder builder) {
this.area = builder.area;
this.enName = builder.enName;
this.ensRegionId = builder.ensRegionId;
this.isp = builder.isp;
this.name = builder.name;
this.province = builder.province;
}
public static Builder builder() {
return new Builder();
}
public static EnsRegionId create() {
return builder().build();
}
/**
* @return area
*/
public String getArea() {
return this.area;
}
/**
* @return enName
*/
public String getEnName() {
return this.enName;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return isp
*/
public String getIsp() {
return this.isp;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return province
*/
public String getProvince() {
return this.province;
}
public static final class Builder {
private String area;
private String enName;
private String ensRegionId;
private String isp;
private String name;
private String province;
/**
* The region.
*
* example:
* EastChina
*/
public Builder area(String area) {
this.area = area;
return this;
}
/**
* The name. This parameter is empty by default.
*
* example:
* EnName
*/
public Builder enName(String enName) {
this.enName = enName;
return this;
}
/**
* The ID of the edge node.
*
* example:
* cn-chengdu-telecom-4
*/
public Builder ensRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
/**
* The information about the Internet service provider (ISP).
*
* example:
* unicom
*/
public Builder isp(String isp) {
this.isp = isp;
return this;
}
/**
* The name of the edge node.
*
* example:
* Taizhou Telecom, China Unicom, and China Mobile
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The province.
*
* example:
* Zhejiang Province
*/
public Builder province(String province) {
this.province = province;
return this;
}
public EnsRegionId build() {
return new EnsRegionId(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class EnsRegionIdsExtends extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private java.util.List ensRegionId;
private EnsRegionIdsExtends(Builder builder) {
this.ensRegionId = builder.ensRegionId;
}
public static Builder builder() {
return new Builder();
}
public static EnsRegionIdsExtends create() {
return builder().build();
}
/**
* @return ensRegionId
*/
public java.util.List getEnsRegionId() {
return this.ensRegionId;
}
public static final class Builder {
private java.util.List ensRegionId;
/**
* The ID of the edge node.
*
* example:
* cn-chengdu-telecom-4
*/
public Builder ensRegionId(java.util.List ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public EnsRegionIdsExtends build() {
return new EnsRegionIdsExtends(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class InstanceSpeces extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InstanceSpec")
private java.util.List instanceSpec;
private InstanceSpeces(Builder builder) {
this.instanceSpec = builder.instanceSpec;
}
public static Builder builder() {
return new Builder();
}
public static InstanceSpeces create() {
return builder().build();
}
/**
* @return instanceSpec
*/
public java.util.List getInstanceSpec() {
return this.instanceSpec;
}
public static final class Builder {
private java.util.List instanceSpec;
/**
* InstanceSpec.
*/
public Builder instanceSpec(java.util.List instanceSpec) {
this.instanceSpec = instanceSpec;
return this;
}
public InstanceSpeces build() {
return new InstanceSpeces(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class Isp extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Isp")
private java.util.List isp;
private Isp(Builder builder) {
this.isp = builder.isp;
}
public static Builder builder() {
return new Builder();
}
public static Isp create() {
return builder().build();
}
/**
* @return isp
*/
public java.util.List getIsp() {
return this.isp;
}
public static final class Builder {
private java.util.List isp;
/**
* The information about the Internet service provider (ISP).
*
* example:
* unicom
*/
public Builder isp(java.util.List isp) {
this.isp = isp;
return this;
}
public Isp build() {
return new Isp(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class SupportResource extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BandwidthTypes")
private BandwidthTypes bandwidthTypes;
@com.aliyun.core.annotation.NameInMap("DataDiskMaxSize")
private Integer dataDiskMaxSize;
@com.aliyun.core.annotation.NameInMap("DataDiskMinSize")
private Integer dataDiskMinSize;
@com.aliyun.core.annotation.NameInMap("EnsRegionIds")
private EnsRegionIds ensRegionIds;
@com.aliyun.core.annotation.NameInMap("EnsRegionIdsExtends")
private EnsRegionIdsExtends ensRegionIdsExtends;
@com.aliyun.core.annotation.NameInMap("InstanceSpeces")
private InstanceSpeces instanceSpeces;
@com.aliyun.core.annotation.NameInMap("Isp")
private Isp isp;
@com.aliyun.core.annotation.NameInMap("SystemDiskMaxSize")
private Integer systemDiskMaxSize;
@com.aliyun.core.annotation.NameInMap("SystemDiskMinSize")
private Integer systemDiskMinSize;
private SupportResource(Builder builder) {
this.bandwidthTypes = builder.bandwidthTypes;
this.dataDiskMaxSize = builder.dataDiskMaxSize;
this.dataDiskMinSize = builder.dataDiskMinSize;
this.ensRegionIds = builder.ensRegionIds;
this.ensRegionIdsExtends = builder.ensRegionIdsExtends;
this.instanceSpeces = builder.instanceSpeces;
this.isp = builder.isp;
this.systemDiskMaxSize = builder.systemDiskMaxSize;
this.systemDiskMinSize = builder.systemDiskMinSize;
}
public static Builder builder() {
return new Builder();
}
public static SupportResource create() {
return builder().build();
}
/**
* @return bandwidthTypes
*/
public BandwidthTypes getBandwidthTypes() {
return this.bandwidthTypes;
}
/**
* @return dataDiskMaxSize
*/
public Integer getDataDiskMaxSize() {
return this.dataDiskMaxSize;
}
/**
* @return dataDiskMinSize
*/
public Integer getDataDiskMinSize() {
return this.dataDiskMinSize;
}
/**
* @return ensRegionIds
*/
public EnsRegionIds getEnsRegionIds() {
return this.ensRegionIds;
}
/**
* @return ensRegionIdsExtends
*/
public EnsRegionIdsExtends getEnsRegionIdsExtends() {
return this.ensRegionIdsExtends;
}
/**
* @return instanceSpeces
*/
public InstanceSpeces getInstanceSpeces() {
return this.instanceSpeces;
}
/**
* @return isp
*/
public Isp getIsp() {
return this.isp;
}
/**
* @return systemDiskMaxSize
*/
public Integer getSystemDiskMaxSize() {
return this.systemDiskMaxSize;
}
/**
* @return systemDiskMinSize
*/
public Integer getSystemDiskMinSize() {
return this.systemDiskMinSize;
}
public static final class Builder {
private BandwidthTypes bandwidthTypes;
private Integer dataDiskMaxSize;
private Integer dataDiskMinSize;
private EnsRegionIds ensRegionIds;
private EnsRegionIdsExtends ensRegionIdsExtends;
private InstanceSpeces instanceSpeces;
private Isp isp;
private Integer systemDiskMaxSize;
private Integer systemDiskMinSize;
/**
* Bandwidth billing method.
*/
public Builder bandwidthTypes(BandwidthTypes bandwidthTypes) {
this.bandwidthTypes = bandwidthTypes;
return this;
}
/**
* The maximum capacity of a data disk. Unit: GB.
*
* example:
* 200
*/
public Builder dataDiskMaxSize(Integer dataDiskMaxSize) {
this.dataDiskMaxSize = dataDiskMaxSize;
return this;
}
/**
* The minimum data disk size. Unit: GiB.
*
* example:
* 100
*/
public Builder dataDiskMinSize(Integer dataDiskMinSize) {
this.dataDiskMinSize = dataDiskMinSize;
return this;
}
/**
* node ID
*/
public Builder ensRegionIds(EnsRegionIds ensRegionIds) {
this.ensRegionIds = ensRegionIds;
return this;
}
/**
* The supplementary information about the edge nodes.
*/
public Builder ensRegionIdsExtends(EnsRegionIdsExtends ensRegionIdsExtends) {
this.ensRegionIdsExtends = ensRegionIdsExtends;
return this;
}
/**
* InstanceSpeces.
*/
public Builder instanceSpeces(InstanceSpeces instanceSpeces) {
this.instanceSpeces = instanceSpeces;
return this;
}
/**
* Operator
*/
public Builder isp(Isp isp) {
this.isp = isp;
return this;
}
/**
* The maximum size of the system disk. Unit: GiB.
*
* example:
* 100
*/
public Builder systemDiskMaxSize(Integer systemDiskMaxSize) {
this.systemDiskMaxSize = systemDiskMaxSize;
return this;
}
/**
* The minimum capacity of a system disk. Unit: GB.
*
* example:
* 20
*/
public Builder systemDiskMinSize(Integer systemDiskMinSize) {
this.systemDiskMinSize = systemDiskMinSize;
return this;
}
public SupportResource build() {
return new SupportResource(this);
}
}
}
/**
*
* {@link DescribeAvailableResourceInfoResponseBody} extends {@link TeaModel}
*
* DescribeAvailableResourceInfoResponseBody
*/
public static class SupportResources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SupportResource")
private java.util.List supportResource;
private SupportResources(Builder builder) {
this.supportResource = builder.supportResource;
}
public static Builder builder() {
return new Builder();
}
public static SupportResources create() {
return builder().build();
}
/**
* @return supportResource
*/
public java.util.List getSupportResource() {
return this.supportResource;
}
public static final class Builder {
private java.util.List supportResource;
/**
* SupportResource.
*/
public Builder supportResource(java.util.List supportResource) {
this.supportResource = supportResource;
return this;
}
public SupportResources build() {
return new SupportResources(this);
}
}
}
}