public class InstanceTypeConfig extends AbstractModel
| Constructor and Description |
|---|
InstanceTypeConfig() |
InstanceTypeConfig(InstanceTypeConfig 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 |
getInstanceFamily()
Get 实例机型系列。
|
String |
getInstanceType()
Get 实例机型。
|
Long |
getMem()
Get 内存容量,单位:`GB`。
|
String |
getZone()
Get 可用区。
|
void |
setCpu(Long Cpu)
Set CPU核数,单位:核。
|
void |
setInstanceFamily(String InstanceFamily)
Set 实例机型系列。
|
void |
setInstanceType(String InstanceType)
Set 实例机型。
|
void |
setMem(Long Mem)
Set 内存容量,单位:`GB`。
|
void |
setZone(String Zone)
Set 可用区。
|
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 InstanceTypeConfig()
public InstanceTypeConfig(InstanceTypeConfig source)
public Long getMem()
public void setMem(Long Mem)
Mem - 内存容量,单位:`GB`。public Long getCpu()
public void setCpu(Long Cpu)
Cpu - CPU核数,单位:核。public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - 实例机型。public String getZone()
public void setZone(String Zone)
Zone - 可用区。public String getInstanceFamily()
public void setInstanceFamily(String InstanceFamily)
InstanceFamily - 实例机型系列。Copyright © 2021. All rights reserved.