Class CreateSubscribeRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dts.v20180330.models.CreateSubscribeRequest
-
public class CreateSubscribeRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAutoRenew()
Get 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。Long
getCount()
Get 购买数量,默认为1,最大为10Long
getDuration()
Get 购买时长。PayType为0时必填。单位为月,最大支持120String
getName()
Get 用户自定义实例名Long
getPayType()
Get 实例付费类型,1小时计费,0包年包月String
getProduct()
Get 订阅的数据库类型,目前支持的有 mysqlTagItem[]
getTags()
Get 实例资源标签void
setAutoRenew(Long AutoRenew)
Set 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。void
setCount(Long Count)
Set 购买数量,默认为1,最大为10void
setDuration(Long Duration)
Set 购买时长。PayType为0时必填。单位为月,最大支持120void
setName(String Name)
Set 用户自定义实例名void
setPayType(Long PayType)
Set 实例付费类型,1小时计费,0包年包月void
setProduct(String Product)
Set 订阅的数据库类型,目前支持的有 mysqlvoid
setTags(TagItem[] Tags)
Set 实例资源标签void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateSubscribeRequest
public CreateSubscribeRequest()
-
CreateSubscribeRequest
public 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.
-
-
Method Detail
-
getProduct
public String getProduct()
Get 订阅的数据库类型,目前支持的有 mysql- Returns:
- Product 订阅的数据库类型,目前支持的有 mysql
-
setProduct
public void setProduct(String Product)
Set 订阅的数据库类型,目前支持的有 mysql- Parameters:
Product
- 订阅的数据库类型,目前支持的有 mysql
-
getPayType
public Long getPayType()
Get 实例付费类型,1小时计费,0包年包月- Returns:
- PayType 实例付费类型,1小时计费,0包年包月
-
setPayType
public void setPayType(Long PayType)
Set 实例付费类型,1小时计费,0包年包月- Parameters:
PayType
- 实例付费类型,1小时计费,0包年包月
-
getDuration
public Long getDuration()
Get 购买时长。PayType为0时必填。单位为月,最大支持120- Returns:
- Duration 购买时长。PayType为0时必填。单位为月,最大支持120
-
setDuration
public void setDuration(Long Duration)
Set 购买时长。PayType为0时必填。单位为月,最大支持120- Parameters:
Duration
- 购买时长。PayType为0时必填。单位为月,最大支持120
-
getCount
public Long getCount()
Get 购买数量,默认为1,最大为10- Returns:
- Count 购买数量,默认为1,最大为10
-
setCount
public void setCount(Long Count)
Set 购买数量,默认为1,最大为10- Parameters:
Count
- 购买数量,默认为1,最大为10
-
getAutoRenew
public Long getAutoRenew()
Get 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。- Returns:
- AutoRenew 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。
-
setAutoRenew
public void setAutoRenew(Long AutoRenew)
Set 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。- Parameters:
AutoRenew
- 是否自动续费,0表示不自动续费,1表示自动续费,默认为0。小时计费实例设置该标识无效。
-
getTags
public TagItem[] getTags()
Get 实例资源标签- Returns:
- Tags 实例资源标签
-
setTags
public void setTags(TagItem[] Tags)
Set 实例资源标签- Parameters:
Tags
- 实例资源标签
-
getName
public String getName()
Get 用户自定义实例名- Returns:
- Name 用户自定义实例名
-
setName
public void setName(String Name)
Set 用户自定义实例名- Parameters:
Name
- 用户自定义实例名
-
-