public class DescribeDCDBPriceRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAmountUnit()
Get Price unit.
|
Long |
getCount()
Get The number of instances to be purchased.
|
String |
getPaymode()
Get Billing type.
|
Long |
getPeriod()
Get Validity period in months
|
Long |
getShardCount()
Get The number of shards in the instance.
|
Long |
getShardMemory()
Get Shard memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
Long |
getShardNodeCount()
Get Number of nodes in a single shard, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
Long |
getShardStorage()
Get Shard storage size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
String |
getZone()
Get AZ ID of the purchased instance.
|
void |
setAmountUnit(String AmountUnit)
Set Price unit.
|
void |
setCount(Long Count)
Set The number of instances to be purchased.
|
void |
setPaymode(String Paymode)
Set Billing type.
|
void |
setPeriod(Long Period)
Set Validity period in months
|
void |
setShardCount(Long ShardCount)
Set The number of shards in the instance.
|
void |
setShardMemory(Long ShardMemory)
Set Shard memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
void |
setShardNodeCount(Long ShardNodeCount)
Set Number of nodes in a single shard, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
void |
setShardStorage(Long ShardStorage)
Set Shard storage size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
void |
setZone(String Zone)
Set AZ ID of the purchased instance.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeDCDBPriceRequest()
public DescribeDCDBPriceRequest(DescribeDCDBPriceRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- AZ ID of the purchased instance.public Long getCount()
public void setCount(Long Count)
Count
- The number of instances to be purchased. You can purchase 1-10 instances.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Validity period in monthspublic Long getShardNodeCount()
public void setShardNodeCount(Long ShardNodeCount)
ShardNodeCount
- Number of nodes in a single shard, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.public Long getShardMemory()
public void setShardMemory(Long ShardMemory)
ShardMemory
- Shard memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.public Long getShardStorage()
public void setShardStorage(Long ShardStorage)
ShardStorage
- Shard storage size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.public Long getShardCount()
public void setShardCount(Long ShardCount)
ShardCount
- The number of shards in the instance. Value range: 2-8. Upgrade your instance to have up to 64 shards if you require more.public String getPaymode()
public void setPaymode(String Paymode)
Paymode
- Billing type. Valid values: `postpaid` (pay-as-you-go), `prepaid` (monthly subscription).public String getAmountUnit()
public void setAmountUnit(String AmountUnit)
AmountUnit
- Price unit. Valid values:
`* pent` (cent),
`* microPent` (microcent).Copyright © 2023. All rights reserved.