public class InstanceTypeOptions extends AbstractModel
| Constructor and Description |
|---|
InstanceTypeOptions() |
InstanceTypeOptions(InstanceTypeOptions 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核数。
|
String[] |
getInstanceCategories()
Get 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。默认值“ALL”。
|
Long |
getMemory()
Get 内存值,单位GB。
|
void |
setCPU(Long CPU)
Set CPU核数。
|
void |
setInstanceCategories(String[] InstanceCategories)
Set 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。默认值“ALL”。
|
void |
setMemory(Long Memory)
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, toJsonStringpublic InstanceTypeOptions()
public InstanceTypeOptions(InstanceTypeOptions source)
public Long getCPU()
public void setCPU(Long CPU)
CPU - CPU核数。public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存值,单位GB。public String[] getInstanceCategories()
public void setInstanceCategories(String[] InstanceCategories)
InstanceCategories - 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。默认值“ALL”。Copyright © 2021. All rights reserved.