public class DescribePriceRequest extends AbstractModel
Constructor and Description |
---|
DescribePriceRequest() |
DescribePriceRequest(DescribePriceRequest 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.
|
Long |
getMemory()
Get Memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
Long |
getNodeCount()
Get Number of instance nodes, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
String |
getPaymode()
Get Billing type.
|
Long |
getPeriod()
Get Purchase period in months
|
Long |
getStorage()
Get Storage capacity in GB.
|
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 |
setMemory(Long Memory)
Set Memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
void |
setNodeCount(Long NodeCount)
Set Number of instance nodes, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.
|
void |
setPaymode(String Paymode)
Set Billing type.
|
void |
setPeriod(Long Period)
Set Purchase period in months
|
void |
setStorage(Long Storage)
Set Storage capacity in GB.
|
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 DescribePriceRequest()
public DescribePriceRequest(DescribePriceRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- AZ ID of the purchased instance.public Long getNodeCount()
public void setNodeCount(Long NodeCount)
NodeCount
- Number of instance nodes, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GB, which can be obtained
by querying the instance specification through the `DescribeDBInstanceSpecs` API.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity in GB. The maximum and minimum storage space can be obtained
by querying instance specification through the `DescribeDBInstanceSpecs` API.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Purchase period in monthspublic Long getCount()
public void setCount(Long Count)
Count
- The number of instances to be purchased. Only one instance is queried for price by default.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.