public class RenewDBInstanceRequest extends AbstractModel
header, skipSign| 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 | 
|---|---|
| Long | getAutoRenew()Get 自动续费标记,0表示不自动续费,1表示进行自动续费 | 
| 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 | setAutoRenew(Long AutoRenew)Set 自动续费标记,0表示不自动续费,1表示进行自动续费 | 
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic 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" 。public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew - 自动续费标记,0表示不自动续费,1表示进行自动续费Copyright © 2025. All rights reserved.