public class RenewInstanceRequest extends AbstractModel
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers.
|
String |
getDBInstanceId()
Get Instance ID in the format of `postgres-6fego161`
|
Long |
getPeriod()
Get Renewal duration in months
|
String[] |
getVoucherIds()
Get Voucher ID list (only one voucher can be specified currently)
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers.
|
void |
setDBInstanceId(String DBInstanceId)
Set Instance ID in the format of `postgres-6fego161`
|
void |
setPeriod(Long Period)
Set Renewal duration in months
|
void |
setVoucherIds(String[] VoucherIds)
Set Voucher ID list (only one voucher can be specified currently)
|
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, toJsonStringpublic RenewInstanceRequest()
public RenewInstanceRequest(RenewInstanceRequest source)
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId - Instance ID in the format of `postgres-6fego161`public Long getPeriod()
public void setPeriod(Long Period)
Period - Renewal duration in monthspublic Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher - Whether to automatically use vouchers. 1: yes, 0: no. Default value: 0public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds - Voucher ID list (only one voucher can be specified currently)Copyright © 2021. All rights reserved.