public class RenewInstanceRequest extends AbstractModel
Constructor and Description |
---|
RenewInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Integer |
getAutoVoucher()
获取是否自动使用代金券,1是,0否,默认不使用
|
String |
getDBInstanceId()
获取实例ID,形如postgres-6fego161
|
Integer |
getPeriod()
获取续费多少个月
|
String[] |
getVoucherIds()
获取代金券ID列表,目前仅支持指定一张代金券
|
void |
setAutoVoucher(Integer AutoVoucher)
设置是否自动使用代金券,1是,0否,默认不使用
|
void |
setDBInstanceId(String DBInstanceId)
设置实例ID,形如postgres-6fego161
|
void |
setPeriod(Integer Period)
设置续费多少个月
|
void |
setVoucherIds(String[] VoucherIds)
设置代金券ID列表,目前仅支持指定一张代金券
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
fromJsonString, getBinaryParams, getMultipartRequestParams, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- 实例ID,形如postgres-6fego161public Integer getPeriod()
public void setPeriod(Integer Period)
Period
- 续费多少个月public 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.