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 是否自动续费。当 payType 为包年包月时,该项需要填。枚举值:0-不自动续费,1-自动续费。默认不自动续费。按量计费设置该标识无效。
|
Long |
getCount()
Get 购买数量,默认为1,最大为10
|
Long |
getDuration()
Get 购买时长。当 payType 为包年包月时,该项需要填,单位为月,最小值为 1,最大值为 120。不填默认1
|
String |
getName()
Get 任务名,自定义
|
Long |
getPayType()
Get 付费方式,枚举值:0-包年包月,1-按量计费
|
String |
getProduct()
Get 订阅的数据库类型,目前支持 cynosdbmysql(tdsql-c mysql版),mariadb,mongodb,mysql,percona,tdpg(tdsql postgresql版),tdsqlpercona(tdsql mysql版)
|
TagItem[] |
getTags()
Get 实例资源标签
|
void |
setAutoRenew(Long AutoRenew)
Set 是否自动续费。当 payType 为包年包月时,该项需要填。枚举值:0-不自动续费,1-自动续费。默认不自动续费。按量计费设置该标识无效。
|
void |
setCount(Long Count)
Set 购买数量,默认为1,最大为10
|
void |
setDuration(Long Duration)
Set 购买时长。当 payType 为包年包月时,该项需要填,单位为月,最小值为 1,最大值为 120。不填默认1
|
void |
setName(String Name)
Set 任务名,自定义
|
void |
setPayType(Long PayType)
Set 付费方式,枚举值:0-包年包月,1-按量计费
|
void |
setProduct(String Product)
Set 订阅的数据库类型,目前支持 cynosdbmysql(tdsql-c mysql版),mariadb,mongodb,mysql,percona,tdpg(tdsql postgresql版),tdsqlpercona(tdsql 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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateSubscribeRequest()
public CreateSubscribeRequest(CreateSubscribeRequest source)
public String getProduct()
public void setProduct(String Product)
Product
- 订阅的数据库类型,目前支持 cynosdbmysql(tdsql-c mysql版),mariadb,mongodb,mysql,percona,tdpg(tdsql postgresql版),tdsqlpercona(tdsql mysql版)public Long getPayType()
public void setPayType(Long PayType)
PayType
- 付费方式,枚举值:0-包年包月,1-按量计费public Long getDuration()
public void setDuration(Long Duration)
Duration
- 购买时长。当 payType 为包年包月时,该项需要填,单位为月,最小值为 1,最大值为 120。不填默认1public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- 是否自动续费。当 payType 为包年包月时,该项需要填。枚举值:0-不自动续费,1-自动续费。默认不自动续费。按量计费设置该标识无效。public Long getCount()
public void setCount(Long Count)
Count
- 购买数量,默认为1,最大为10public TagItem[] getTags()
public void setTags(TagItem[] Tags)
Tags
- 实例资源标签public String getName()
public void setName(String Name)
Name
- 任务名,自定义Copyright © 2024. All rights reserved.