com.aliyun.ens20171110.models.DescribePrePaidInstanceStockResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribePrePaidInstanceStockResponseBody extends TeaModel {
/**
* The number of resources that you can purchase.
*
* example:
* 84
*/
@NameInMap("AvaliableCount")
public Integer avaliableCount;
/**
* The number of CPU cores.
*
* example:
* 1
*/
@NameInMap("Cores")
public Integer cores;
/**
* The size of the data disk.
*
* example:
* 20
*/
@NameInMap("DataDiskSize")
public Integer dataDiskSize;
/**
* The ID of the node.
*
* example:
* cn-suzhou-telecom
*/
@NameInMap("EnsRegionId")
public String ensRegionId;
/**
* The specification of the instance.
*
* example:
* ens.sn1.stiny
*/
@NameInMap("InstanceSpec")
public String instanceSpec;
/**
* The memory size. Unit: GB.
*
* example:
* 2048
*/
@NameInMap("Memory")
public Integer memory;
/**
* The request ID.
*
* example:
* 007833C8-E819-4122-B636-0D48D7BF6DFB
*/
@NameInMap("RequestId")
public String requestId;
/**
* The reason why resources are insufficient.
*
* example:
* StockNotEnough
*/
@NameInMap("ResourceGap")
public String resourceGap;
/**
* The size of the system disk.
*
* example:
* 20
*/
@NameInMap("SystemDiskSize")
public Integer systemDiskSize;
public static DescribePrePaidInstanceStockResponseBody build(java.util.Map map) throws Exception {
DescribePrePaidInstanceStockResponseBody self = new DescribePrePaidInstanceStockResponseBody();
return TeaModel.build(map, self);
}
public DescribePrePaidInstanceStockResponseBody setAvaliableCount(Integer avaliableCount) {
this.avaliableCount = avaliableCount;
return this;
}
public Integer getAvaliableCount() {
return this.avaliableCount;
}
public DescribePrePaidInstanceStockResponseBody setCores(Integer cores) {
this.cores = cores;
return this;
}
public Integer getCores() {
return this.cores;
}
public DescribePrePaidInstanceStockResponseBody setDataDiskSize(Integer dataDiskSize) {
this.dataDiskSize = dataDiskSize;
return this;
}
public Integer getDataDiskSize() {
return this.dataDiskSize;
}
public DescribePrePaidInstanceStockResponseBody setEnsRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public String getEnsRegionId() {
return this.ensRegionId;
}
public DescribePrePaidInstanceStockResponseBody setInstanceSpec(String instanceSpec) {
this.instanceSpec = instanceSpec;
return this;
}
public String getInstanceSpec() {
return this.instanceSpec;
}
public DescribePrePaidInstanceStockResponseBody setMemory(Integer memory) {
this.memory = memory;
return this;
}
public Integer getMemory() {
return this.memory;
}
public DescribePrePaidInstanceStockResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribePrePaidInstanceStockResponseBody setResourceGap(String resourceGap) {
this.resourceGap = resourceGap;
return this;
}
public String getResourceGap() {
return this.resourceGap;
}
public DescribePrePaidInstanceStockResponseBody setSystemDiskSize(Integer systemDiskSize) {
this.systemDiskSize = systemDiskSize;
return this;
}
public Integer getSystemDiskSize() {
return this.systemDiskSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy