public class CdbSellConfig extends AbstractModel
Constructor and Description |
---|
CdbSellConfig() |
CdbSellConfig(CdbSellConfig 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 |
getDeviceType()
Get 实例类型,可能的取值范围有:UNIVERSAL (通用型), EXCLUSIVE (独享型), BASIC (基础型), BASIC_V2 (基础型v2)
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getEngineType()
Get 引擎类型描述,可能的取值范围有:Innodb,RocksDB
|
Long |
getId()
Get 售卖规格Id
|
String |
getInfo()
Get 应用场景描述
|
Long |
getIops()
Get 每秒IO数量
|
Long |
getMemory()
Get 内存大小,单位为MB
|
Long |
getStatus()
Get 状态值,0 表示该规格对外售卖
|
Long |
getVolumeMax()
Get 磁盘最大规格,单位为GB
|
Long |
getVolumeMin()
Get 磁盘最小规格,单位为GB
|
Long |
getVolumeStep()
Get 磁盘步长,单位为GB
|
void |
setCpu(Long Cpu)
Set CPU核心数
|
void |
setDeviceType(String DeviceType)
Set 实例类型,可能的取值范围有:UNIVERSAL (通用型), EXCLUSIVE (独享型), BASIC (基础型), BASIC_V2 (基础型v2)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEngineType(String EngineType)
Set 引擎类型描述,可能的取值范围有:Innodb,RocksDB
|
void |
setId(Long Id)
Set 售卖规格Id
|
void |
setInfo(String Info)
Set 应用场景描述
|
void |
setIops(Long Iops)
Set 每秒IO数量
|
void |
setMemory(Long Memory)
Set 内存大小,单位为MB
|
void |
setStatus(Long Status)
Set 状态值,0 表示该规格对外售卖
|
void |
setVolumeMax(Long VolumeMax)
Set 磁盘最大规格,单位为GB
|
void |
setVolumeMin(Long VolumeMin)
Set 磁盘最小规格,单位为GB
|
void |
setVolumeStep(Long VolumeStep)
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, toJsonString
public CdbSellConfig()
public CdbSellConfig(CdbSellConfig source)
public Long getMemory()
public void setMemory(Long Memory)
Memory
- 内存大小,单位为MBpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- CPU核心数public Long getVolumeMin()
public void setVolumeMin(Long VolumeMin)
VolumeMin
- 磁盘最小规格,单位为GBpublic Long getVolumeMax()
public void setVolumeMax(Long VolumeMax)
VolumeMax
- 磁盘最大规格,单位为GBpublic Long getVolumeStep()
public void setVolumeStep(Long VolumeStep)
VolumeStep
- 磁盘步长,单位为GBpublic Long getIops()
public void setIops(Long Iops)
Iops
- 每秒IO数量public String getInfo()
public void setInfo(String Info)
Info
- 应用场景描述public Long getStatus()
public void setStatus(Long Status)
Status
- 状态值,0 表示该规格对外售卖public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- 实例类型,可能的取值范围有:UNIVERSAL (通用型), EXCLUSIVE (独享型), BASIC (基础型), BASIC_V2 (基础型v2)
注意:此字段可能返回 null,表示取不到有效值。public String getEngineType()
public void setEngineType(String EngineType)
EngineType
- 引擎类型描述,可能的取值范围有:Innodb,RocksDBpublic Long getId()
public void setId(Long Id)
Id
- 售卖规格IdCopyright © 2023. All rights reserved.