public class InquiryPriceCreateDBInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
InquiryPriceCreateDBInstancesRequest() |
InquiryPriceCreateDBInstancesRequest(InquiryPriceCreateDBInstancesRequest 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 |
getDBEngine()
Get
|
String |
getInstanceChargeType()
Get Instance billing type.
|
Long |
getInstanceCount()
Get Number of instances.
|
String |
getInstanceType()
Get Instance type.
|
Long |
getPeriod()
Get Length of purchase in months.
|
Long |
getPid()
Get [Disused] 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 `DescribeClasses` 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 |
setDBEngine(String DBEngine)
Set
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing type.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances.
|
void |
setInstanceType(String InstanceType)
Set Instance type.
|
void |
setPeriod(Long Period)
Set Length of purchase in months.
|
void |
setPid(Long Pid)
Set [Disused] 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 `DescribeClasses` 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InquiryPriceCreateDBInstancesRequest()
public InquiryPriceCreateDBInstancesRequest(InquiryPriceCreateDBInstancesRequest source)
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 `DescribeClasses` 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
- [Disused] 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)public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance type. Default value: `primary`. Valid values:
`primary` (dual-server high-availability, one-primary-one-standby)
`readonly` (read-only instance)public String getDBEngine()
public void setDBEngine(String DBEngine)
DBEngine
- Copyright © 2024. All rights reserved.