public class CreateBackupDownloadTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateBackupDownloadTaskRequest() |
CreateBackupDownloadTaskRequest(CreateBackupDownloadTaskRequest 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 |
---|---|
String |
getBackupName()
Get The name of the backup file to be downloaded, which can be obtained by the `DescribeDBBackups` API.
|
ReplicaSetInfo[] |
getBackupSets()
Get Specify the node name of a replica set instance or the shard name list of a sharded cluster instance.
|
String |
getInstanceId()
Get Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB console.
|
void |
setBackupName(String BackupName)
Set The name of the backup file to be downloaded, which can be obtained by the `DescribeDBBackups` API.
|
void |
setBackupSets(ReplicaSetInfo[] BackupSets)
Set Specify the node name of a replica set instance or the shard name list of a sharded cluster instance.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB console.
|
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 CreateBackupDownloadTaskRequest()
public CreateBackupDownloadTaskRequest(CreateBackupDownloadTaskRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB console.public String getBackupName()
public void setBackupName(String BackupName)
BackupName
- The name of the backup file to be downloaded, which can be obtained by the `DescribeDBBackups` API.public ReplicaSetInfo[] getBackupSets()
public void setBackupSets(ReplicaSetInfo[] BackupSets)
BackupSets
- Specify the node name of a replica set instance or the shard name list of a sharded cluster instance. Only backups of the specified node or shards will be downloaded.
Suppose you have a replica set instance (ID: cmgo-p8vnipr5), you can use the sample code `BackupSets.0=cmgo-p8vnipr5_0` to download the full backup. For a replica set instance, the parameter value must be in the format of "instance ID_0".
Suppose you have a sharded cluster instance (ID: cmgo-p8vnipr5), you can use the sample code `BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1` to download the backup data of shard 0 and shard 1. To download the full backup, please specify all shard names.Copyright © 2023. All rights reserved.