public class CreateBackupMigrationRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateBackupMigrationRequest() |
CreateBackupMigrationRequest(CreateBackupMigrationRequest 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[] |
getBackupFiles()
Get If the UploadType is COS_URL, fill in the URL here.
|
String |
getInstanceId()
Get ID of imported target instance
|
String |
getMigrationName()
Get Task name
|
String |
getRecoveryType()
Get Migration task restoration type.
|
String |
getUploadType()
Get Backup upload type.
|
void |
setBackupFiles(String[] BackupFiles)
Set If the UploadType is COS_URL, fill in the URL here.
|
void |
setInstanceId(String InstanceId)
Set ID of imported target instance
|
void |
setMigrationName(String MigrationName)
Set Task name
|
void |
setRecoveryType(String RecoveryType)
Set Migration task restoration type.
|
void |
setUploadType(String UploadType)
Set Backup upload type.
|
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, toJsonStringpublic CreateBackupMigrationRequest()
public CreateBackupMigrationRequest(CreateBackupMigrationRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - ID of imported target instancepublic String getRecoveryType()
public void setRecoveryType(String RecoveryType)
RecoveryType - Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restorationpublic String getUploadType()
public void setUploadType(String UploadType)
UploadType - Backup upload type. COS_URL: the backup is stored in user's Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application's Cloud Object Storage and needs to be uploaded by the user.public String getMigrationName()
public void setMigrationName(String MigrationName)
MigrationName - Task namepublic String[] getBackupFiles()
public void setBackupFiles(String[] BackupFiles)
BackupFiles - If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.Copyright © 2025. All rights reserved.