public class CreateDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
CreateDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getActivityId()
Get
|
Long |
getAutoRenewFlag()
Get Renewal flag.
|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers.
|
String |
getDBVersion()
Get PostgreSQL kernel version.
|
String |
getInstanceChargeType()
Get Instance billing type.
|
Long |
getInstanceCount()
Get Number of instances purchased at a time.
|
String |
getName()
Get Instance name (which will be supported in the future)
|
Long |
getNeedSupportIpv6()
Get Whether to support IPv6 address access.
|
Long |
getPeriod()
Get Length of purchase in months.
|
Long |
getProjectId()
Get Project ID.
|
String |
getSpecCode()
Get Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
|
Long |
getStorage()
Get Instance capacity size in GB.
|
String |
getSubnetId()
Get VPC subnet ID.
|
Tag[] |
getTagList()
Get The information of tags to be associated with instances.
|
String[] |
getVoucherIds()
Get Voucher ID list (only one voucher can be specified currently).
|
String |
getVpcId()
Get VPC ID.
|
String |
getZone()
Get AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API.
|
void |
setActivityId(Long ActivityId)
Set
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Renewal flag.
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers.
|
void |
setDBVersion(String DBVersion)
Set PostgreSQL kernel version.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing type.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances purchased at a time.
|
void |
setName(String Name)
Set Instance name (which will be supported in the future)
|
void |
setNeedSupportIpv6(Long NeedSupportIpv6)
Set Whether to support IPv6 address access.
|
void |
setPeriod(Long Period)
Set Length of purchase in months.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setSpecCode(String SpecCode)
Set Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.
|
void |
setStorage(Long Storage)
Set Instance capacity size in GB.
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID.
|
void |
setTagList(Tag[] TagList)
Set The information of tags to be associated with instances.
|
void |
setVoucherIds(String[] VoucherIds)
Set Voucher ID list (only one voucher can be specified currently).
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
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 String getSpecCode()
public void setSpecCode(String SpecCode)
SpecCode
- Purchasable specification ID, which can be obtained through the `SpecCode` field in the returned value of the `DescribeProductConfig` API.public String getDBVersion()
public void setDBVersion(String DBVersion)
DBVersion
- PostgreSQL kernel version. Currently, only two versions are supported: 9.3.5 and 9.5.4.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance capacity size in GB.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of instances purchased at a time. Value range: 1-100.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 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 Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing type.public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers. 1: yes, 0: no. Default value: no.public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- Voucher ID list (only one voucher can be specified currently).public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID.public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Renewal flag. 0: normal renewal (default), 1: auto-renewal.public Long getActivityId()
public void setActivityId(Long ActivityId)
ActivityId
- public String getName()
public void setName(String Name)
Name
- Instance name (which will be supported in the future)public Long getNeedSupportIpv6()
public void setNeedSupportIpv6(Long NeedSupportIpv6)
NeedSupportIpv6
- Whether to support IPv6 address access. Valid values: 1 (yes), 0 (no)public Tag[] getTagList()
public void setTagList(Tag[] TagList)
TagList
- The information of tags to be associated with instances. This parameter is left empty by default.Copyright © 2020. All rights reserved.