public class UpgradeDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers.
|
Long |
getCpu()
Get The number of CUP cores after the instance is upgraded.
|
String |
getInstanceId()
Get Instance ID in the format of mssql-j8kv137v
|
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
|
String[] |
getVoucherIds()
Get Voucher ID (currently, only one voucher can be used per order)
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers.
|
void |
setCpu(Long Cpu)
Set The number of CUP cores after the instance is upgraded.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of mssql-j8kv137v
|
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 |
setVoucherIds(String[] VoucherIds)
Set Voucher ID (currently, only one voucher can be used per order)
|
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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of mssql-j8kv137vpublic 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 getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers. 0: no, 1: yes. Default value: 0public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- Voucher ID (currently, only one voucher can be used per order)public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- The number of CUP cores after the instance is upgraded.Copyright © 2020. All rights reserved.