public class ResourceSpec extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ResourceSpec() | 
| ResourceSpec(ResourceSpec source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getAvailable()Get Whether it is available. | 
| String | getComputeSpecDesc()Get Specification description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getCpu()Get Number of CPU cores | 
| DiskSpec | getDataDisk()Get Data disk description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getInstanceQuota()Get CVM inventory
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getMaxNodeSize()Get Limit of the maximum number of nodes
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getMem()Get Memory size, in GB | 
| String | getName()Get Specification name, such as SCH1 | 
| DiskSpec | getSystemDisk()Get System disk description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getType()Get Classification markers, STANDARD/BIGDATA/HIGHIO respectively represent standard type/big data type/high IO. | 
| void | setAvailable(Boolean Available)Set Whether it is available. | 
| void | setComputeSpecDesc(String ComputeSpecDesc)Set Specification description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCpu(Long Cpu)Set Number of CPU cores | 
| void | setDataDisk(DiskSpec DataDisk)Set Data disk description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setInstanceQuota(Long InstanceQuota)Set CVM inventory
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMaxNodeSize(Long MaxNodeSize)Set Limit of the maximum number of nodes
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMem(Long Mem)Set Memory size, in GB | 
| void | setName(String Name)Set Specification name, such as SCH1 | 
| void | setSystemDisk(DiskSpec SystemDisk)Set System disk description information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setType(String Type)Set Classification markers, STANDARD/BIGDATA/HIGHIO respectively represent standard type/big data type/high IO. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ResourceSpec()
public ResourceSpec(ResourceSpec source)
public String getName()
public void setName(String Name)
Name - Specification name, such as SCH1public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU corespublic Long getMem()
public void setMem(Long Mem)
Mem - Memory size, in GBpublic String getType()
public void setType(String Type)
Type - Classification markers, STANDARD/BIGDATA/HIGHIO respectively represent standard type/big data type/high IO.public DiskSpec getSystemDisk()
public void setSystemDisk(DiskSpec SystemDisk)
SystemDisk - System disk description information
Note: This field may return null, indicating that no valid values can be obtained.public DiskSpec getDataDisk()
public void setDataDisk(DiskSpec DataDisk)
DataDisk - Data disk description information
Note: This field may return null, indicating that no valid values can be obtained.public Long getMaxNodeSize()
public void setMaxNodeSize(Long MaxNodeSize)
MaxNodeSize - Limit of the maximum number of nodes
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getAvailable()
public void setAvailable(Boolean Available)
Available - Whether it is available. False indicates sell-out.
Note: This field may return null, indicating that no valid values can be obtained.public String getComputeSpecDesc()
public void setComputeSpecDesc(String ComputeSpecDesc)
ComputeSpecDesc - Specification description information
Note: This field may return null, indicating that no valid values can be obtained.public Long getInstanceQuota()
public void setInstanceQuota(Long InstanceQuota)
InstanceQuota - CVM inventory
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.