public class UpgradeDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Integer |
getAutoVoucher()
获取是否自动使用代金券,1是,0否,默认不使用
|
String |
getDBInstanceId()
获取实例ID,形如postgres-lnp6j617
|
Integer |
getMemory()
获取升级后的实例内存大小,单位GB
|
Integer |
getStorage()
获取升级后的实例磁盘大小,单位GB
|
String[] |
getVoucherIds()
获取代金券ID列表,目前仅支持指定一张代金券
|
void |
setAutoVoucher(Integer AutoVoucher)
设置是否自动使用代金券,1是,0否,默认不使用
|
void |
setDBInstanceId(String DBInstanceId)
设置实例ID,形如postgres-lnp6j617
|
void |
setMemory(Integer Memory)
设置升级后的实例内存大小,单位GB
|
void |
setStorage(Integer Storage)
设置升级后的实例磁盘大小,单位GB
|
void |
setVoucherIds(String[] VoucherIds)
设置代金券ID列表,目前仅支持指定一张代金券
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Integer getMemory()
public void setMemory(Integer Memory)
Memory
- 升级后的实例内存大小,单位GBpublic Integer getStorage()
public void setStorage(Integer Storage)
Storage
- 升级后的实例磁盘大小,单位GBpublic String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- 实例ID,形如postgres-lnp6j617public Integer getAutoVoucher()
public void setAutoVoucher(Integer AutoVoucher)
AutoVoucher
- 是否自动使用代金券,1是,0否,默认不使用public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- 代金券ID列表,目前仅支持指定一张代金券Copyright © 2019. All rights reserved.