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 Number of instance CPU cores 
 | 
Long | 
getMaxStorageSize()
Get Maximum instance storage capacity GB 
 | 
Long | 
getMemory()
Get Instance memory in GB 
 | 
Long | 
getMinStorageSize()
Get Minimum instance storage capacity GB 
 | 
void | 
setCpu(Long Cpu)
Set Number of instance CPU cores 
 | 
void | 
setMaxStorageSize(Long MaxStorageSize)
Set Maximum instance storage capacity GB 
 | 
void | 
setMemory(Long Memory)
Set Instance memory in GB 
 | 
void | 
setMinStorageSize(Long MinStorageSize)
Set Minimum instance storage capacity 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, toJsonStringpublic InstanceSpec()
public InstanceSpec(InstanceSpec source)
public Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of instance CPU corespublic Long getMemory()
public void setMemory(Long Memory)
Memory - Instance memory in GBpublic Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize - Maximum instance storage capacity GBpublic Long getMinStorageSize()
public void setMinStorageSize(Long MinStorageSize)
MinStorageSize - Minimum instance storage capacity GBCopyright © 2021. All rights reserved.