public class CloneDBInstanceRequest extends AbstractModel
Constructor and Description |
---|
CloneDBInstanceRequest() |
CloneDBInstanceRequest(CloneDBInstanceRequest 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 |
---|---|
Long |
getActivityId()
Get Campaign ID.
|
Long |
getAutoRenewFlag()
Get Renewal flag.
|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers.
|
String |
getBackupSetId()
Get Basic backup set ID.
|
String |
getDBInstanceId()
Get ID of the original instance to be cloned.
|
DBNode[] |
getDBNodeSet()
Get This parameter is required if you purchase a multi-AZ deployed instance.
|
String |
getInstanceChargeType()
Get Instance billing mode.
|
String |
getName()
Get Name of the purchased instance.
|
Long |
getPeriod()
Get Valid period in months of the purchased instance.
|
Long |
getProjectId()
Get Project ID.
|
String |
getRecoveryTargetTime()
Get Restoration point in time.
|
String[] |
getSecurityGroupIds()
Get Security group 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 storage capacity in GB.
|
String |
getSubnetId()
Get ID of a subnet in the VPC specified by `VpcId`.
|
Tag[] |
getTagList()
Get The information of tags to be bound with the purchased instance.
|
String |
getVoucherIds()
Get Voucher ID list.
|
String |
getVpcId()
Get VPC ID.
|
void |
setActivityId(Long ActivityId)
Set Campaign ID.
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Renewal flag.
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers.
|
void |
setBackupSetId(String BackupSetId)
Set Basic backup set ID.
|
void |
setDBInstanceId(String DBInstanceId)
Set ID of the original instance to be cloned.
|
void |
setDBNodeSet(DBNode[] DBNodeSet)
Set This parameter is required if you purchase a multi-AZ deployed instance.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing mode.
|
void |
setName(String Name)
Set Name of the purchased instance.
|
void |
setPeriod(Long Period)
Set Valid period in months of the purchased instance.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setRecoveryTargetTime(String RecoveryTargetTime)
Set Restoration point in time.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group 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 storage capacity in GB.
|
void |
setSubnetId(String SubnetId)
Set ID of a subnet in the VPC specified by `VpcId`.
|
void |
setTagList(Tag[] TagList)
Set The information of tags to be bound with the purchased instance.
|
void |
setVoucherIds(String VoucherIds)
Set Voucher ID list.
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
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 CloneDBInstanceRequest()
public CloneDBInstanceRequest(CloneDBInstanceRequest source)
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- ID of the original instance to be cloned.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 Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance storage capacity in GB.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Valid period in months of the purchased instance. Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. This parameter is set to `1` when the pay-as-you-go billing mode is used.public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Renewal flag. Valid values: `0` (manual renewal), `1` (auto-renewal). Default value: `0`.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- ID of a subnet in the VPC specified by `VpcId`.public String getName()
public void setName(String Name)
Name
- Name of the purchased instance.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID_BY_HOUR` (pay-as-you-go).public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group ID.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID.public Tag[] getTagList()
public void setTagList(Tag[] TagList)
TagList
- The information of tags to be bound with the purchased instance. This parameter is left empty by default.public DBNode[] getDBNodeSet()
public void setDBNodeSet(DBNode[] DBNodeSet)
DBNodeSet
- This parameter is required if you purchase a multi-AZ deployed instance.public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers. Valid values: `1` (yes), `0` (no). Default value: `0`.public String getVoucherIds()
public void setVoucherIds(String VoucherIds)
VoucherIds
- Voucher ID list.public Long getActivityId()
public void setActivityId(Long ActivityId)
ActivityId
- Campaign ID.public String getBackupSetId()
public void setBackupSetId(String BackupSetId)
BackupSetId
- Basic backup set ID.public String getRecoveryTargetTime()
public void setRecoveryTargetTime(String RecoveryTargetTime)
RecoveryTargetTime
- Restoration point in time.Copyright © 2023. All rights reserved.