public class RenewDBInstanceRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get 待续费的实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872)。
|
String |
getModifyPayType()
Get 如果需要将按量计费实例续费为包年包月的实例,该入参的值需要指定为 "PREPAID" 。
|
Long |
getTimeSpan()
Get 续费时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
void |
setInstanceId(String InstanceId)
Set 待续费的实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872)。
|
void |
setModifyPayType(String ModifyPayType)
Set 如果需要将按量计费实例续费为包年包月的实例,该入参的值需要指定为 "PREPAID" 。
|
void |
setTimeSpan(Long TimeSpan)
Set 续费时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
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 RenewDBInstanceRequest()
public RenewDBInstanceRequest(RenewDBInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 待续费的实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872)。public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 续费时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。public String getModifyPayType()
public void setModifyPayType(String ModifyPayType)
ModifyPayType
- 如果需要将按量计费实例续费为包年包月的实例,该入参的值需要指定为 "PREPAID" 。Copyright © 2021. All rights reserved.