public class InquiryPriceUpgradeDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceUpgradeDBInstanceRequest() |
InquiryPriceUpgradeDBInstanceRequest(InquiryPriceUpgradeDBInstanceRequest 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 The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.
|
String |
getInstanceId()
Get Instance ID in the format of mssql-njj2mtpl
|
Long |
getMemory()
Get Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
|
Long |
getStorage()
Get Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
|
void |
setCpu(Long Cpu)
Set The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of mssql-njj2mtpl
|
void |
setMemory(Long Memory)
Set Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
|
void |
setStorage(Long Storage)
Set Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
|
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 InquiryPriceUpgradeDBInstanceRequest()
public InquiryPriceUpgradeDBInstanceRequest(InquiryPriceUpgradeDBInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of mssql-njj2mtplpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory sizepublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacitypublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.Copyright © 2023. All rights reserved.