public class InquiryPriceCreateDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceCreateDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceChargeType()
获取实例计费类型。目前只支持:PREPAID(预付费,即包年包月)。
|
Integer |
getInstanceCount()
获取实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。
|
Integer |
getPeriod()
获取购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。
|
Integer |
getPid()
获取计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。
|
String |
getSpecCode()
获取规格ID。该参数可以通过调用DescribeProductConfig接口的返回值中的SpecCode字段来获取。
|
Integer |
getStorage()
获取存储容量大小,单位:GB。
|
String |
getZone()
获取可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
|
void |
setInstanceChargeType(String InstanceChargeType)
设置实例计费类型。目前只支持:PREPAID(预付费,即包年包月)。
|
void |
setInstanceCount(Integer InstanceCount)
设置实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。
|
void |
setPeriod(Integer Period)
设置购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。
|
void |
setPid(Integer Pid)
设置计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。
|
void |
setSpecCode(String SpecCode)
设置规格ID。该参数可以通过调用DescribeProductConfig接口的返回值中的SpecCode字段来获取。
|
void |
setStorage(Integer Storage)
设置存储容量大小,单位:GB。
|
void |
setZone(String Zone)
设置可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public InquiryPriceCreateDBInstancesRequest()
public String getZone()
public void setZone(String Zone)
Zone
- 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。public String getSpecCode()
public void setSpecCode(String SpecCode)
SpecCode
- 规格ID。该参数可以通过调用DescribeProductConfig接口的返回值中的SpecCode字段来获取。public Integer getStorage()
public void setStorage(Integer Storage)
Storage
- 存储容量大小,单位:GB。public Integer getInstanceCount()
public void setInstanceCount(Integer InstanceCount)
InstanceCount
- 实例数量。目前最大数量不超过100,如需一次性创建更多实例,请联系客服支持。public Integer getPeriod()
public void setPeriod(Integer Period)
Period
- 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值。public Integer getPid()
public void setPid(Integer Pid)
Pid
- 计费ID。该参数可以通过调用DescribeProductConfig接口的返回值中的Pid字段来获取。public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- 实例计费类型。目前只支持:PREPAID(预付费,即包年包月)。Copyright © 2019. All rights reserved.