public class ClassInfo extends AbstractModel
Constructor and Description |
---|
ClassInfo() |
ClassInfo(ClassInfo 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 |
---|---|
Long |
getCPU()
Get Number of CPU cores
|
Long |
getMaxStorage()
Get Maximum storage capacity in GB supported by this specification
|
Long |
getMemory()
Get Memory size in MB
|
Long |
getMinStorage()
Get Minimum storage capacity in GB supported by this specification
|
Long |
getQPS()
Get Estimated QPS for this specification
|
String |
getSpecCode()
Get Specification ID
|
void |
setCPU(Long CPU)
Set Number of CPU cores
|
void |
setMaxStorage(Long MaxStorage)
Set Maximum storage capacity in GB supported by this specification
|
void |
setMemory(Long Memory)
Set Memory size in MB
|
void |
setMinStorage(Long MinStorage)
Set Minimum storage capacity in GB supported by this specification
|
void |
setQPS(Long QPS)
Set Estimated QPS for this specification
|
void |
setSpecCode(String SpecCode)
Set Specification ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ClassInfo()
public ClassInfo(ClassInfo source)
public String getSpecCode()
public void setSpecCode(String SpecCode)
SpecCode
- Specification IDpublic Long getCPU()
public void setCPU(Long CPU)
CPU
- Number of CPU corespublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in MBpublic Long getMaxStorage()
public void setMaxStorage(Long MaxStorage)
MaxStorage
- Maximum storage capacity in GB supported by this specificationpublic Long getMinStorage()
public void setMinStorage(Long MinStorage)
MinStorage
- Minimum storage capacity in GB supported by this specificationpublic Long getQPS()
public void setQPS(Long QPS)
QPS
- Estimated QPS for this specificationCopyright © 2023. All rights reserved.