public class InquiryPriceCreateDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceCreateDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceChargeType()
Get Instance billing type.
|
Long |
getInstanceCount()
Get Number of instances.
|
Long |
getPeriod()
Get Length of purchase in months.
|
Long |
getPid()
Get Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.
|
String |
getSpecCode()
Get Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
|
Long |
getStorage()
Get Storage capacity size in GB.
|
String |
getZone()
Get AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing type.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances.
|
void |
setPeriod(Long Period)
Set Length of purchase in months.
|
void |
setPid(Long Pid)
Set Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.
|
void |
setSpecCode(String SpecCode)
Set Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
|
void |
setStorage(Long Storage)
Set Storage capacity size in GB.
|
void |
setZone(String Zone)
Set AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
|
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 InquiryPriceCreateDBInstancesRequest()
public String getZone()
public void setZone(String Zone)
Zone
- AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.public String getSpecCode()
public void setSpecCode(String SpecCode)
SpecCode
- Specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacity size in GB.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of instances. Maximum value: 100. If you need to create more instances at a time, please contact customer service.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Length of purchase in months. Currently, only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.public Long getPid()
public void setPid(Long Pid)
Pid
- Billing ID, which can be obtained through the `Pid` field in the returned value of the `DescribeProductConfig` API.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing type. Valid value: POSTPAID_BY_HOUR (pay-as-you-go)Copyright © 2020. All rights reserved.