public class CreateBackupDBInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateBackupDBInstanceRequest() |
CreateBackupDBInstanceRequest(CreateBackupDBInstanceRequest 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 |
getBackupMethod()
Get Sets the backup method.
|
String |
getBackupRemark()
Get Backup remarks information.
|
String |
getInstanceId()
Get Instance ID.
|
void |
setBackupMethod(Long BackupMethod)
Set Sets the backup method.
|
void |
setBackupRemark(String BackupRemark)
Set Backup remarks information.
|
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 CreateBackupDBInstanceRequest()
public CreateBackupDBInstanceRequest(CreateBackupDBInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. For example, cmgo-p8vn****. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/MongoDB) and copy the instance ID from the instance list.public Long getBackupMethod()
public void setBackupMethod(Long BackupMethod)
BackupMethod
- Sets the backup method.
- 0: logical backup.
- 1: physical backup.
- 3: snapshot backup.
Note**:
1. The General Edition instance supports logical and physical backup. The Cloud Disk Edition instance supports physical and snapshot backup, but does not support logical backup currently.
2. Physical backup is not supported when storage encryption is enabled for the instance.public String getBackupRemark()
public void setBackupRemark(String BackupRemark)
BackupRemark
- Backup remarks information.Copyright © 2025. All rights reserved.