Class DescribeDCDBPriceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dcdb.v20180411.models.DescribeDCDBPriceRequest
-
public class DescribeDCDBPriceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeDCDBPriceRequest()DescribeDCDBPriceRequest(DescribeDCDBPriceRequest 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 StringgetAmountUnit()Get 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分LonggetCount()Get 欲购买实例的数量,目前支持购买1-10个实例StringgetPaymode()Get 付费类型。postpaid:按量付费 prepaid:预付费LonggetPeriod()Get 欲购买的时长,单位:月。LonggetShardCount()Get 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。LonggetShardMemory()Get 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。LonggetShardNodeCount()Get 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。LonggetShardStorage()Get 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。StringgetZone()Get 欲新购实例的可用区ID。voidsetAmountUnit(String AmountUnit)Set 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分voidsetCount(Long Count)Set 欲购买实例的数量,目前支持购买1-10个实例voidsetPaymode(String Paymode)Set 付费类型。postpaid:按量付费 prepaid:预付费voidsetPeriod(Long Period)Set 欲购买的时长,单位:月。voidsetShardCount(Long ShardCount)Set 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。voidsetShardMemory(Long ShardMemory)Set 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。voidsetShardNodeCount(Long ShardNodeCount)Set 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。voidsetShardStorage(Long ShardStorage)Set 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。voidsetZone(String Zone)Set 欲新购实例的可用区ID。voidtoMap(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
-
DescribeDCDBPriceRequest
public DescribeDCDBPriceRequest()
-
DescribeDCDBPriceRequest
public DescribeDCDBPriceRequest(DescribeDCDBPriceRequest 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
-
getZone
public String getZone()
Get 欲新购实例的可用区ID。- Returns:
- Zone 欲新购实例的可用区ID。
-
setZone
public void setZone(String Zone)
Set 欲新购实例的可用区ID。- Parameters:
Zone- 欲新购实例的可用区ID。
-
getCount
public Long getCount()
Get 欲购买实例的数量,目前支持购买1-10个实例- Returns:
- Count 欲购买实例的数量,目前支持购买1-10个实例
-
setCount
public void setCount(Long Count)
Set 欲购买实例的数量,目前支持购买1-10个实例- Parameters:
Count- 欲购买实例的数量,目前支持购买1-10个实例
-
getPeriod
public Long getPeriod()
Get 欲购买的时长,单位:月。- Returns:
- Period 欲购买的时长,单位:月。
-
setPeriod
public void setPeriod(Long Period)
Set 欲购买的时长,单位:月。- Parameters:
Period- 欲购买的时长,单位:月。
-
getShardNodeCount
public Long getShardNodeCount()
Get 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。- Returns:
- ShardNodeCount 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。
-
setShardNodeCount
public void setShardNodeCount(Long ShardNodeCount)
Set 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。- Parameters:
ShardNodeCount- 单个分片节点个数大小,可以通过 DescribeShardSpec 查询实例规格获得。
-
getShardMemory
public Long getShardMemory()
Get 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。- Returns:
- ShardMemory 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。
-
setShardMemory
public void setShardMemory(Long ShardMemory)
Set 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。- Parameters:
ShardMemory- 分片内存大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。
-
getShardStorage
public Long getShardStorage()
Get 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。- Returns:
- ShardStorage 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。
-
setShardStorage
public void setShardStorage(Long ShardStorage)
Set 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。- Parameters:
ShardStorage- 分片存储空间大小,单位:GB,可以通过 DescribeShardSpec 查询实例规格获得。
-
getShardCount
public Long getShardCount()
Get 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。- Returns:
- ShardCount 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。
-
setShardCount
public void setShardCount(Long ShardCount)
Set 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。- Parameters:
ShardCount- 实例分片个数,可选范围2-8,可以通过升级实例进行新增分片到最多64个分片。
-
getPaymode
public String getPaymode()
Get 付费类型。postpaid:按量付费 prepaid:预付费- Returns:
- Paymode 付费类型。postpaid:按量付费 prepaid:预付费
-
setPaymode
public void setPaymode(String Paymode)
Set 付费类型。postpaid:按量付费 prepaid:预付费- Parameters:
Paymode- 付费类型。postpaid:按量付费 prepaid:预付费
-
getAmountUnit
public String getAmountUnit()
Get 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分- Returns:
- AmountUnit 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分
-
setAmountUnit
public void setAmountUnit(String AmountUnit)
Set 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分- Parameters:
AmountUnit- 价格金额单位,不传默认单位为分,取值: pent:分 microPent:微分
-
-