public class CreateBackupDownloadTaskRequest extends AbstractModel
header, skipSign
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 Name of the backup file to be downloaded.
|
ReplicaSetInfo[] |
getBackupSets()
Get Specifies the node ID of the replica set to be downloaded or the shard node ID list of the sharded cluster.
|
String |
getInstanceId()
Get Instance ID.
|
void |
setBackupName(String BackupName)
Set Name of the backup file to be downloaded.
|
void |
setBackupSets(ReplicaSetInfo[] BackupSets)
Set Specifies the node ID of the replica set to be downloaded or the shard node ID list of the sharded cluster.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateBackupDownloadTaskRequest()
public CreateBackupDownloadTaskRequest(CreateBackupDownloadTaskRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and copy the instance ID from the instance list.public String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Name of the backup file to be downloaded. The [DescribeDBBackups](https://www.tencentcloud.comom/document/product/240/38574?from_cn_redirect=1) API can be called to obtain it.public ReplicaSetInfo[] getBackupSets()
public void setBackupSets(ReplicaSetInfo[] BackupSets)
BackupSets
- Specifies the node ID of the replica set to be downloaded or the shard node ID list of the sharded cluster.
- If the replica set instance ID is cmgo-p8vnipr5, for example, BackupSets.0=cmgo-p8vnipr5_0, full data can be downloaded.
- If the sharded cluster instance ID is cmgo-p8vnipr5, for example, BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1, download the data of Shard 0 and Shard 1. If a full download is needed for the sharded cluster, import all shard names as shown in the example.Copyright © 2025. All rights reserved.