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核数,单位:核。
|
Long |
getFPGA()
Get FPGA核数,单位:核。
|
Long |
getGPU()
Get GPU核数,单位:核。
|
String |
getInstanceFamily()
Get 实例机型系列。
|
String |
getInstanceType()
Get 实例机型。
|
Long |
getMemory()
Get 内存容量,单位:`GB`。
|
String |
getZone()
Get 可用区。
|
void |
setCPU(Long CPU)
Set CPU核数,单位:核。
|
void |
setFPGA(Long FPGA)
Set FPGA核数,单位:核。
|
void |
setGPU(Long GPU)
Set GPU核数,单位:核。
|
void |
setInstanceFamily(String InstanceFamily)
Set 实例机型系列。
|
void |
setInstanceType(String InstanceType)
Set 实例机型。
|
void |
setMemory(Long Memory)
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 String getZone()
public void setZone(String Zone)
Zone - 可用区。public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - 实例机型。public String getInstanceFamily()
public void setInstanceFamily(String InstanceFamily)
InstanceFamily - 实例机型系列。public Long getGPU()
public void setGPU(Long GPU)
GPU - GPU核数,单位:核。public Long getCPU()
public void setCPU(Long CPU)
CPU - CPU核数,单位:核。public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存容量,单位:`GB`。public Long getFPGA()
public void setFPGA(Long FPGA)
FPGA - FPGA核数,单位:核。Copyright © 2022. All rights reserved.