public class InstanceTypeOptions extends AbstractModel
| 构造器和说明 |
|---|
InstanceTypeOptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getCPU()
Get CPU核数。
|
String[] |
getInstanceCategories()
Get 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。
|
Integer |
getMemory()
Get 内存值,单位GB。
|
void |
setCPU(Integer CPU)
Set CPU核数。
|
void |
setInstanceCategories(String[] InstanceCategories)
Set 实例机型类别,可选参数:“ALL”、“GENERAL”、“GENERAL_2”、“GENERAL_3”、“COMPUTE”、“COMPUTE_2”和“COMPUTE_3”。
|
void |
setMemory(Integer 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 Integer getCPU()
public void setCPU(Integer CPU)
CPU - CPU核数。public Integer getMemory()
public void setMemory(Integer 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 © 2020. All rights reserved.