public class UpgradeDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getActivityId()
Get
|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers.
|
String |
getDBInstanceId()
Get Instance ID in the format of postgres-lnp6j617
|
Long |
getMemory()
Get Instance memory size in GB after upgrade
|
Long |
getStorage()
Get Instance disk size in GB after upgrade
|
String[] |
getVoucherIds()
Get Voucher ID list (only one voucher can be specified currently)
|
void |
setActivityId(Long ActivityId)
Set
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers.
|
void |
setDBInstanceId(String DBInstanceId)
Set Instance ID in the format of postgres-lnp6j617
|
void |
setMemory(Long Memory)
Set Instance memory size in GB after upgrade
|
void |
setStorage(Long Storage)
Set Instance disk size in GB after upgrade
|
void |
setVoucherIds(String[] VoucherIds)
Set Voucher ID list (only one voucher can be specified currently)
|
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 Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size in GB after upgradepublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance disk size in GB after upgradepublic String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- Instance ID in the format of postgres-lnp6j617public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers. 1: yes, 0: no. Default value: nopublic String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- Voucher ID list (only one voucher can be specified currently)public Long getActivityId()
public void setActivityId(Long ActivityId)
ActivityId
- Copyright © 2020. All rights reserved.