Class RenewInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.postgres.v20170312.models.RenewInstanceRequest
-
public class RenewInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RenewInstanceRequest()RenewInstanceRequest(RenewInstanceRequest 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 LonggetAutoVoucher()Get 是否自动使用代金券,1是,0否,默认不使用StringgetDBInstanceId()Get 实例ID,形如postgres-6fego161LonggetPeriod()Get 续费多少个月String[]getVoucherIds()Get 代金券ID列表,目前仅支持指定一张代金券voidsetAutoVoucher(Long AutoVoucher)Set 是否自动使用代金券,1是,0否,默认不使用voidsetDBInstanceId(String DBInstanceId)Set 实例ID,形如postgres-6fego161voidsetPeriod(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
-
RenewInstanceRequest
public RenewInstanceRequest()
-
RenewInstanceRequest
public RenewInstanceRequest(RenewInstanceRequest 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
-
getDBInstanceId
public String getDBInstanceId()
Get 实例ID,形如postgres-6fego161- Returns:
- DBInstanceId 实例ID,形如postgres-6fego161
-
setDBInstanceId
public void setDBInstanceId(String DBInstanceId)
Set 实例ID,形如postgres-6fego161- Parameters:
DBInstanceId- 实例ID,形如postgres-6fego161
-
getPeriod
public Long getPeriod()
Get 续费多少个月- Returns:
- Period 续费多少个月
-
setPeriod
public void setPeriod(Long Period)
Set 续费多少个月- Parameters:
Period- 续费多少个月
-
getAutoVoucher
public Long getAutoVoucher()
Get 是否自动使用代金券,1是,0否,默认不使用- Returns:
- AutoVoucher 是否自动使用代金券,1是,0否,默认不使用
-
setAutoVoucher
public void setAutoVoucher(Long AutoVoucher)
Set 是否自动使用代金券,1是,0否,默认不使用- Parameters:
AutoVoucher- 是否自动使用代金券,1是,0否,默认不使用
-
getVoucherIds
public String[] getVoucherIds()
Get 代金券ID列表,目前仅支持指定一张代金券- Returns:
- VoucherIds 代金券ID列表,目前仅支持指定一张代金券
-
setVoucherIds
public void setVoucherIds(String[] VoucherIds)
Set 代金券ID列表,目前仅支持指定一张代金券- Parameters:
VoucherIds- 代金券ID列表,目前仅支持指定一张代金券
-
-