public class UpgradeDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceRequest() |
UpgradeDBInstanceRequest(UpgradeDBInstanceRequest 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 |
getActivityId()
Get Activity ID
|
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 |
getSwitchEndTime()
Get The latest time to start a switch
|
String |
getSwitchStartTime()
Get The earliest time to start a switch
|
Long |
getSwitchTag()
Get Switch time after instance configurations are modified.
|
String[] |
getVoucherIds()
Get Voucher ID list (only one voucher can be specified currently)
|
void |
setActivityId(Long ActivityId)
Set Activity ID
|
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 |
setSwitchEndTime(String SwitchEndTime)
Set The latest time to start a switch
|
void |
setSwitchStartTime(String SwitchStartTime)
Set The earliest time to start a switch
|
void |
setSwitchTag(Long SwitchTag)
Set Switch time after instance configurations are modified.
|
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 UpgradeDBInstanceRequest()
public UpgradeDBInstanceRequest(UpgradeDBInstanceRequest source)
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
- Activity IDpublic Long getSwitchTag()
public void setSwitchTag(Long SwitchTag)
SwitchTag
- Switch time after instance configurations are modified. Valid values: `0` (switch immediately), `1` (switch at specified time). Default value: `0`public String getSwitchStartTime()
public void setSwitchStartTime(String SwitchStartTime)
SwitchStartTime
- The earliest time to start a switchpublic String getSwitchEndTime()
public void setSwitchEndTime(String SwitchEndTime)
SwitchEndTime
- The latest time to start a switchCopyright © 2023. All rights reserved.