Class RenewDBInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mariadb.v20170312.models.RenewDBInstanceRequest
-
public class RenewDBInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RenewDBInstanceRequest()RenewDBInstanceRequest(RenewDBInstanceRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAutoVoucher()Get 是否自动使用代金券进行支付,默认不使用。StringgetInstanceId()Get 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。LonggetPeriod()Get 续费时长,单位:月。String[]getVoucherIds()Get 代金券ID列表,目前仅支持指定一张代金券。voidsetAutoVoucher(Boolean AutoVoucher)Set 是否自动使用代金券进行支付,默认不使用。voidsetInstanceId(String InstanceId)Set 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。voidsetPeriod(Long Period)Set 续费时长,单位:月。voidsetVoucherIds(String[] VoucherIds)Set 代金券ID列表,目前仅支持指定一张代金券。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RenewDBInstanceRequest
public RenewDBInstanceRequest()
-
RenewDBInstanceRequest
public RenewDBInstanceRequest(RenewDBInstanceRequest 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。- Returns:
- InstanceId 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。- Parameters:
InstanceId- 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
-
getPeriod
public Long getPeriod()
Get 续费时长,单位:月。- Returns:
- Period 续费时长,单位:月。
-
setPeriod
public void setPeriod(Long Period)
Set 续费时长,单位:月。- Parameters:
Period- 续费时长,单位:月。
-
getAutoVoucher
public Boolean getAutoVoucher()
Get 是否自动使用代金券进行支付,默认不使用。- Returns:
- AutoVoucher 是否自动使用代金券进行支付,默认不使用。
-
setAutoVoucher
public void setAutoVoucher(Boolean AutoVoucher)
Set 是否自动使用代金券进行支付,默认不使用。- Parameters:
AutoVoucher- 是否自动使用代金券进行支付,默认不使用。
-
getVoucherIds
public String[] getVoucherIds()
Get 代金券ID列表,目前仅支持指定一张代金券。- Returns:
- VoucherIds 代金券ID列表,目前仅支持指定一张代金券。
-
setVoucherIds
public void setVoucherIds(String[] VoucherIds)
Set 代金券ID列表,目前仅支持指定一张代金券。- Parameters:
VoucherIds- 代金券ID列表,目前仅支持指定一张代金券。
-
-