public class InstanceSpec extends AbstractModel
Constructor and Description |
---|
InstanceSpec() |
InstanceSpec(InstanceSpec 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 实例CPU,单位:核
|
Long |
getMaxStorageSize()
Get 实例最大可用存储,单位:GB
|
Long |
getMemory()
Get 实例内存,单位:GB
|
Long |
getMinStorageSize()
Get 实例最小可用存储,单位:GB
|
void |
setCpu(Long Cpu)
Set 实例CPU,单位:核
|
void |
setMaxStorageSize(Long MaxStorageSize)
Set 实例最大可用存储,单位:GB
|
void |
setMemory(Long Memory)
Set 实例内存,单位:GB
|
void |
setMinStorageSize(Long MinStorageSize)
Set 实例最小可用存储,单位:GB
|
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 InstanceSpec()
public InstanceSpec(InstanceSpec source)
public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- 实例CPU,单位:核public Long getMemory()
public void setMemory(Long Memory)
Memory
- 实例内存,单位:GBpublic Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize
- 实例最大可用存储,单位:GBpublic Long getMinStorageSize()
public void setMinStorageSize(Long MinStorageSize)
MinStorageSize
- 实例最小可用存储,单位:GBCopyright © 2021. All rights reserved.