public class CreateCloneInstanceRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateCloneInstanceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBackupZone()Get Availability zone information of replica 2 of the cloned instance, 
which is left empty by default. | 
| Long | getCpu()Get CPU core quantity of the cloned instance, which is equal to or larger than that of the original instance | 
| Long | getDeployMode()Get Multi-AZ or single-AZ. | 
| String | getDeviceType()Get Type of the cloned instance. | 
| String | getInstanceId()Get ID of the instance to be cloned from | 
| String | getInstanceName()Get Name of the cloned instance | 
| Long | getMemory()Get Memory of the cloned instance in MB, which should be equal to (by default) or larger than that of the original instance | 
| Long | getProtectMode()Get Data replication mode. | 
| TagInfo[] | getResourceTags()Get Information of the cloned instance tag | 
| String[] | getSecurityGroup()Get Security group parameter, which can be obtained by the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API | 
| String | getSlaveZone()Get Availability zone information of replica 1 of the cloned instance, which is the same as the value of `Zone` of the original instance by default | 
| Long | getSpecifiedBackupId()Get To roll back the cloned instance to a specific physical backup file, set this parameter to the ID of the physical backup file. | 
| String | getSpecifiedRollbackTime()Get To roll back the cloned instance to a specific point in time, set this parameter to a value in the format of "yyyy-mm-dd hh:mm:ss". | 
| String | getUniqSubnetId()Get VPC subnet ID, which can be obtained by the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API. | 
| String | getUniqVpcId()Get VPC ID, which can be obtained by the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API. | 
| Long | getVolume()Get Disk capacity of the cloned instance in GB, which should be equal to (by default) or larger than that of the original instance | 
| void | setBackupZone(String BackupZone)Set Availability zone information of replica 2 of the cloned instance, 
which is left empty by default. | 
| void | setCpu(Long Cpu)Set CPU core quantity of the cloned instance, which is equal to or larger than that of the original instance | 
| void | setDeployMode(Long DeployMode)Set Multi-AZ or single-AZ. | 
| void | setDeviceType(String DeviceType)Set Type of the cloned instance. | 
| void | setInstanceId(String InstanceId)Set ID of the instance to be cloned from | 
| void | setInstanceName(String InstanceName)Set Name of the cloned instance | 
| void | setMemory(Long Memory)Set Memory of the cloned instance in MB, which should be equal to (by default) or larger than that of the original instance | 
| void | setProtectMode(Long ProtectMode)Set Data replication mode. | 
| void | setResourceTags(TagInfo[] ResourceTags)Set Information of the cloned instance tag | 
| void | setSecurityGroup(String[] SecurityGroup)Set Security group parameter, which can be obtained by the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API | 
| void | setSlaveZone(String SlaveZone)Set Availability zone information of replica 1 of the cloned instance, which is the same as the value of `Zone` of the original instance by default | 
| void | setSpecifiedBackupId(Long SpecifiedBackupId)Set To roll back the cloned instance to a specific physical backup file, set this parameter to the ID of the physical backup file. | 
| void | setSpecifiedRollbackTime(String SpecifiedRollbackTime)Set To roll back the cloned instance to a specific point in time, set this parameter to a value in the format of "yyyy-mm-dd hh:mm:ss". | 
| void | setUniqSubnetId(String UniqSubnetId)Set VPC subnet ID, which can be obtained by the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API. | 
| void | setUniqVpcId(String UniqVpcId)Set VPC ID, which can be obtained by the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API. | 
| void | setVolume(Long Volume)Set Disk capacity of the cloned instance in GB, which should be equal to (by default) or larger than that of the original instance | 
| 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, toJsonStringpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of the instance to be cloned frompublic String getSpecifiedRollbackTime()
public void setSpecifiedRollbackTime(String SpecifiedRollbackTime)
SpecifiedRollbackTime - To roll back the cloned instance to a specific point in time, set this parameter to a value in the format of "yyyy-mm-dd hh:mm:ss".public Long getSpecifiedBackupId()
public void setSpecifiedBackupId(Long SpecifiedBackupId)
SpecifiedBackupId - To roll back the cloned instance to a specific physical backup file, set this parameter to the ID of the physical backup file. The ID can be obtained by the [DescribeBackups](https://intl.cloud.tencent.com/document/api/236/15842?from_cn_redirect=1) API.public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId - VPC ID, which can be obtained by the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API. If this parameter is left empty, the classic network will be used by default.public String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId - VPC subnet ID, which can be obtained by the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API. If `UniqVpcId` is set, `UniqSubnetId` will be required.public Long getMemory()
public void setMemory(Long Memory)
Memory - Memory of the cloned instance in MB, which should be equal to (by default) or larger than that of the original instancepublic Long getVolume()
public void setVolume(Long Volume)
Volume - Disk capacity of the cloned instance in GB, which should be equal to (by default) or larger than that of the original instancepublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Name of the cloned instancepublic String[] getSecurityGroup()
public void setSecurityGroup(String[] SecurityGroup)
SecurityGroup - Security group parameter, which can be obtained by the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) APIpublic TagInfo[] getResourceTags()
public void setResourceTags(TagInfo[] ResourceTags)
ResourceTags - Information of the cloned instance tagpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu - CPU core quantity of the cloned instance, which is equal to or larger than that of the original instancepublic Long getProtectMode()
public void setProtectMode(Long ProtectMode)
ProtectMode - Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). Default value: 0.public Long getDeployMode()
public void setDeployMode(Long DeployMode)
DeployMode - Multi-AZ or single-AZ. Valid values: 0 (single-AZ), 1 (multi-AZ). Default value: 0.public String getSlaveZone()
public void setSlaveZone(String SlaveZone)
SlaveZone - Availability zone information of replica 1 of the cloned instance, which is the same as the value of `Zone` of the original instance by defaultpublic String getBackupZone()
public void setBackupZone(String BackupZone)
BackupZone - Availability zone information of replica 2 of the cloned instance, 
which is left empty by default. Specify this parameter when cloning a strong sync source instance.public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType - Type of the cloned instance. Valid values: `HA` (High-Availability Edition), `EXCLUSIVE` (dedicated). Default value: `HA`.Copyright © 2021. All rights reserved.