public class ModifyBackupMigrationRequest extends AbstractModel
Constructor and Description |
---|
ModifyBackupMigrationRequest() |
ModifyBackupMigrationRequest(ModifyBackupMigrationRequest 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 URL here.
|
String |
getBackupMigrationId()
Get Backup import task ID, which is returned through the API CreateBackupMigration
|
RenameRestoreDatabase[] |
getDBRename()
Get Name set of databases to be renamed
|
String |
getInstanceId()
Get ID of imported target instance
|
String |
getMigrationName()
Get Task name
|
String |
getRecoveryType()
Get Migration task restoration type: FULL,FULL_LOG,FULL_DIFF
|
String |
getUploadType()
Get COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided.
|
void |
setBackupFiles(String[] BackupFiles)
Set If the UploadType is COS_URL, fill in URL here.
|
void |
setBackupMigrationId(String BackupMigrationId)
Set Backup import task ID, which is returned through the API CreateBackupMigration
|
void |
setDBRename(RenameRestoreDatabase[] DBRename)
Set Name set of databases to be renamed
|
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: FULL,FULL_LOG,FULL_DIFF
|
void |
setUploadType(String UploadType)
Set COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided.
|
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 ModifyBackupMigrationRequest()
public ModifyBackupMigrationRequest(ModifyBackupMigrationRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of imported target instancepublic String getBackupMigrationId()
public void setBackupMigrationId(String BackupMigrationId)
BackupMigrationId
- Backup import task ID, which is returned through the API CreateBackupMigrationpublic String getMigrationName()
public void setMigrationName(String MigrationName)
MigrationName
- Task namepublic String getRecoveryType()
public void setRecoveryType(String RecoveryType)
RecoveryType
- Migration task restoration type: FULL,FULL_LOG,FULL_DIFFpublic String getUploadType()
public void setUploadType(String UploadType)
UploadType
- 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[] getBackupFiles()
public void setBackupFiles(String[] BackupFiles)
BackupFiles
- If the UploadType is COS_URL, fill in 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.public RenameRestoreDatabase[] getDBRename()
public void setDBRename(RenameRestoreDatabase[] DBRename)
DBRename
- Name set of databases to be renamedCopyright © 2023. All rights reserved.