public class CreateSubscribeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateSubscribeRequest() | 
| CreateSubscribeRequest(CreateSubscribeRequest 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表示自动续费,默认为0。小时计费实例设置该标识无效。 | 
| Long | getCount()Get 购买数量,默认为1,最大为10 | 
| Long | getDuration()Get 购买时长。PayType为0时必填。单位为月,最大支持120 | 
| String | getName()Get 用户自定义实例名 | 
| Long | getPayType()Get 实例付费类型,1小时计费,0包年包月 | 
| String | getProduct()Get 订阅的数据库类型,目前支持的有 mysql | 
| TagItem[] | getTags()Get 实例资源标签 | 
| void | setAutoRenew(Long AutoRenew)Set 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。 | 
| void | setCount(Long Count)Set 购买数量,默认为1,最大为10 | 
| void | setDuration(Long Duration)Set 购买时长。PayType为0时必填。单位为月,最大支持120 | 
| void | setName(String Name)Set 用户自定义实例名 | 
| void | setPayType(Long PayType)Set 实例付费类型,1小时计费,0包年包月 | 
| void | setProduct(String Product)Set 订阅的数据库类型,目前支持的有 mysql | 
| void | setTags(TagItem[] Tags)Set 实例资源标签 | 
| 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 CreateSubscribeRequest()
public CreateSubscribeRequest(CreateSubscribeRequest source)
public String getProduct()
public void setProduct(String Product)
Product - 订阅的数据库类型,目前支持的有 mysqlpublic Long getPayType()
public void setPayType(Long PayType)
PayType - 实例付费类型,1小时计费,0包年包月public Long getDuration()
public void setDuration(Long Duration)
Duration - 购买时长。PayType为0时必填。单位为月,最大支持120public Long getCount()
public void setCount(Long Count)
Count - 购买数量,默认为1,最大为10public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew - 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。public TagItem[] getTags()
public void setTags(TagItem[] Tags)
Tags - 实例资源标签public String getName()
public void setName(String Name)
Name - 用户自定义实例名Copyright © 2025. All rights reserved.