public class CloneDBInstanceRequest extends AbstractModel
header, skipSign
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 Auto-renewal flag.
|
Long |
getAutoVoucher()
Get Whether to use vouchers automatically.
|
String |
getBackupSetId()
Get Basic backup set ID.
|
String |
getDBInstanceId()
Get ID of the original instance to be cloned.
|
DBNode[] |
getDBNodeSet()
Get Deployment information of the instance node, which will display the information of each AZ when the instance node is deployed across multiple AZs.
|
String |
getInstanceChargeType()
Get Instance billing mode.
|
String |
getName()
Get Name of the newly purchased instance, which can contain up to 60 letters, digits, or symbols (-_).
|
Long |
getPeriod()
Get Validity period in months.
|
Long |
getProjectId()
Get Project ID.
|
String |
getRecoveryTargetTime()
Get Restoration point in time.
|
String[] |
getSecurityGroupIds()
Get Security group of the instance, which can be obtained from the `sgld` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API.
|
String |
getSpecCode()
Get Purchasable code, which can be obtained from the `SpecCode` field in the return value of the [DescribeClasses](https://intl.cloud.tencent.com/document/api/409/89019?from_cn_redirect=1) API.
|
Long |
getStorage()
Get Instance storage capacity in GB.
|
String |
getSubnetId()
Get VPC subnet ID in the format of `subnet-xxxxxxxx`, which can be obtained in the console or from the `unSubnetId` field in the return value of the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API.
|
String |
getSyncMode()
Get Primary-standby sync mode.
|
Tag[] |
getTagList()
Get The information of tags to be bound with the instance, which is left empty by default.
|
String |
getVoucherIds()
Get Voucher ID list.
|
String |
getVpcId()
Get VPC ID in the format of `vpc-xxxxxxx`, which can be obtained in the console or from the `unVpcId` field in the return value of the [DescribeVpcEx](https://intl.cloud.tencent.com/document/api/215/1372?from_cn_redirect=1) API.
|
void |
setActivityId(Long ActivityId)
Set Campaign ID.
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Auto-renewal flag.
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to use vouchers automatically.
|
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 Deployment information of the instance node, which will display the information of each AZ when the instance node is deployed across multiple AZs.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing mode.
|
void |
setName(String Name)
Set Name of the newly purchased instance, which can contain up to 60 letters, digits, or symbols (-_).
|
void |
setPeriod(Long Period)
Set Validity period in months.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setRecoveryTargetTime(String RecoveryTargetTime)
Set Restoration point in time.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group of the instance, which can be obtained from the `sgld` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API.
|
void |
setSpecCode(String SpecCode)
Set Purchasable code, which can be obtained from the `SpecCode` field in the return value of the [DescribeClasses](https://intl.cloud.tencent.com/document/api/409/89019?from_cn_redirect=1) API.
|
void |
setStorage(Long Storage)
Set Instance storage capacity in GB.
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID in the format of `subnet-xxxxxxxx`, which can be obtained in the console or from the `unSubnetId` field in the return value of the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API.
|
void |
setSyncMode(String SyncMode)
Set Primary-standby sync mode.
|
void |
setTagList(Tag[] TagList)
Set The information of tags to be bound with the instance, which is left empty by default.
|
void |
setVoucherIds(String VoucherIds)
Set Voucher ID list.
|
void |
setVpcId(String VpcId)
Set VPC ID in the format of `vpc-xxxxxxx`, which can be obtained in the console or from the `unVpcId` field in the return value of the [DescribeVpcEx](https://intl.cloud.tencent.com/document/api/215/1372?from_cn_redirect=1) 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 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 code, which can be obtained from the `SpecCode` field in the return value of the [DescribeClasses](https://intl.cloud.tencent.com/document/api/409/89019?from_cn_redirect=1) API.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance storage capacity in GB.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Validity period in months. Valid values:
public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Auto-renewal flag. Valid values:
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID in the format of `vpc-xxxxxxx`, which can be obtained in the console or from the `unVpcId` field in the return value of the [DescribeVpcEx](https://intl.cloud.tencent.com/document/api/215/1372?from_cn_redirect=1) API.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID in the format of `subnet-xxxxxxxx`, which can be obtained in the console or from the `unSubnetId` field in the return value of the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API.public String getName()
public void setName(String Name)
Name
- Name of the newly purchased instance, which can contain up to 60 letters, digits, or symbols (-_). If this parameter is not specified, "Unnamed" will be displayed by default.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing mode. Valid values:
public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group of the instance, which can be obtained from the `sgld` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API. If this parameter is not specified, the default security group will be bound.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 instance, which is left empty by default. This parameter can be obtained from the `Tags` field in the return value of the [DescribeTags](https://intl.cloud.tencent.com/document/api/651/35316?from_cn_redirect=1) API.public DBNode[] getDBNodeSet()
public void setDBNodeSet(DBNode[] DBNodeSet)
DBNodeSet
- Deployment information of the instance node, which will display the information of each AZ when the instance node is deployed across multiple AZs.
The information of AZ can be obtained from the `Zone` field in the return value of the [DescribeZones](https://intl.cloud.tencent.com/document/api/409/16769?from_cn_redirect=1) API.public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to use vouchers automatically. Valid values:
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.public String getSyncMode()
public void setSyncMode(String SyncMode)
SyncMode
- Primary-standby sync mode. Valid values:
Copyright © 2024. All rights reserved.