public class RenewDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
RenewDBInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoVoucher()
Get 是否自动使用代金券进行支付,默认不使用。
|
String |
getInstanceId()
Get 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
Long |
getPeriod()
Get 续费时长,单位:月。
|
String[] |
getVoucherIds()
Get 代金券ID列表,目前仅支持指定一张代金券。
|
void |
setAutoVoucher(Boolean AutoVoucher)
Set 是否自动使用代金券进行支付,默认不使用。
|
void |
setInstanceId(String InstanceId)
Set 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
void |
setPeriod(Long Period)
Set 续费时长,单位:月。
|
void |
setVoucherIds(String[] VoucherIds)
Set 代金券ID列表,目前仅支持指定一张代金券。
|
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
- 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。public Long getPeriod()
public void setPeriod(Long Period)
Period
- 续费时长,单位:月。public Boolean getAutoVoucher()
public void setAutoVoucher(Boolean AutoVoucher)
AutoVoucher
- 是否自动使用代金券进行支付,默认不使用。public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- 代金券ID列表,目前仅支持指定一张代金券。Copyright © 2020. All rights reserved.