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 core count
|
String |
getDeviceType()
Get Instance type.
|
String |
getEngineType()
Get Engine type description.
|
Long |
getId()
Get Purchasable specifications ID
|
String |
getInfo()
Get Application scenario description
|
Long |
getIops()
Get IO operations per second
|
Long |
getMemory()
Get Memory size in MB
|
Long |
getStatus()
Get Status.
|
Long |
getVolumeMax()
Get Maximum disk size in GB
|
Long |
getVolumeMin()
Get Minimum disk size in GB
|
Long |
getVolumeStep()
Get Disk capacity increment in GB
|
void |
setCpu(Long Cpu)
Set CPU core count
|
void |
setDeviceType(String DeviceType)
Set Instance type.
|
void |
setEngineType(String EngineType)
Set Engine type description.
|
void |
setId(Long Id)
Set Purchasable specifications ID
|
void |
setInfo(String Info)
Set Application scenario description
|
void |
setIops(Long Iops)
Set IO operations per second
|
void |
setMemory(Long Memory)
Set Memory size in MB
|
void |
setStatus(Long Status)
Set Status.
|
void |
setVolumeMax(Long VolumeMax)
Set Maximum disk size in GB
|
void |
setVolumeMin(Long VolumeMin)
Set Minimum disk size in GB
|
void |
setVolumeStep(Long VolumeStep)
Set Disk capacity increment in 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
- Memory size in MBpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- CPU core countpublic Long getVolumeMin()
public void setVolumeMin(Long VolumeMin)
VolumeMin
- Minimum disk size in GBpublic Long getVolumeMax()
public void setVolumeMax(Long VolumeMax)
VolumeMax
- Maximum disk size in GBpublic Long getVolumeStep()
public void setVolumeStep(Long VolumeStep)
VolumeStep
- Disk capacity increment in GBpublic Long getIops()
public void setIops(Long Iops)
Iops
- IO operations per secondpublic String getInfo()
public void setInfo(String Info)
Info
- Application scenario descriptionpublic Long getStatus()
public void setStatus(Long Status)
Status
- Status. The value `0` indicates that this specification is available.public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- Instance type. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance), `BASIC_V2` (basic v2 instance).
Note: This field may return null, indicating that no valid values can be obtained.public String getEngineType()
public void setEngineType(String EngineType)
EngineType
- Engine type description. Valid values: `Innodb`, `RocksDB`.public Long getId()
public void setId(Long Id)
Id
- Purchasable specifications IDCopyright © 2023. All rights reserved.