public class Migration extends AbstractModel
Constructor and Description |
---|
Migration() |
Migration(Migration 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 |
---|---|
MigrationAction |
getAction()
Get Operation allowed in the current status
|
Long |
getAppId()
Get Application ID
|
String[] |
getBackupFiles()
Get Backup file list, which is determined by UploadType.
|
String |
getCreateTime()
Get Migration task creation time
|
DBRenameRes[] |
getDBRename()
Get Name set of renamed databases
Note: This field may return null, indicating that no valid values can be obtained.
|
MigrationDetail |
getDetail()
Get Migration detail
|
String |
getEndTime()
Get Migration task end time
|
String |
getInstanceId()
Get ID of migrated target instance
|
String |
getIsRecovery()
Get Whether this is the final restoration.
|
String |
getMessage()
Get More information
|
String |
getMigrationId()
Get Backup import task ID or incremental import task ID
|
String |
getMigrationName()
Get Backup import task name.
|
String |
getRecoveryType()
Get Migration task restoration type
|
String |
getRegion()
Get Region
|
String |
getStartTime()
Get Migration task start time
|
Long |
getStatus()
Get Migration task status.
|
String |
getUploadType()
Get Backup user upload type.
|
void |
setAction(MigrationAction Action)
Set Operation allowed in the current status
|
void |
setAppId(Long AppId)
Set Application ID
|
void |
setBackupFiles(String[] BackupFiles)
Set Backup file list, which is determined by UploadType.
|
void |
setCreateTime(String CreateTime)
Set Migration task creation time
|
void |
setDBRename(DBRenameRes[] DBRename)
Set Name set of renamed databases
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDetail(MigrationDetail Detail)
Set Migration detail
|
void |
setEndTime(String EndTime)
Set Migration task end time
|
void |
setInstanceId(String InstanceId)
Set ID of migrated target instance
|
void |
setIsRecovery(String IsRecovery)
Set Whether this is the final restoration.
|
void |
setMessage(String Message)
Set More information
|
void |
setMigrationId(String MigrationId)
Set Backup import task ID or incremental import task ID
|
void |
setMigrationName(String MigrationName)
Set Backup import task name.
|
void |
setRecoveryType(String RecoveryType)
Set Migration task restoration type
|
void |
setRegion(String Region)
Set Region
|
void |
setStartTime(String StartTime)
Set Migration task start time
|
void |
setStatus(Long Status)
Set Migration task status.
|
void |
setUploadType(String UploadType)
Set Backup user upload type.
|
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 Migration()
public Migration(Migration source)
public String getMigrationId()
public void setMigrationId(String MigrationId)
MigrationId
- Backup import task ID or incremental import task IDpublic String getMigrationName()
public void setMigrationName(String MigrationName)
MigrationName
- Backup import task name. For an incremental import task, this field will be left empty.
Note: this field may return ‘null’, indicating that no valid values can be obtained.public Long getAppId()
public void setAppId(Long AppId)
AppId
- Application IDpublic String getRegion()
public void setRegion(String Region)
Region
- Regionpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of migrated target instancepublic String getRecoveryType()
public void setRecoveryType(String RecoveryType)
RecoveryType
- Migration task restoration typepublic String getUploadType()
public void setUploadType(String UploadType)
UploadType
- Backup user 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[] getBackupFiles()
public void setBackupFiles(String[] BackupFiles)
BackupFiles
- Backup file list, which is determined by UploadType. If the upload type is COS_URL, URL will be saved. If the upload type is COS_UPLOAD, the backup name will be saved.public Long getStatus()
public void setStatus(Long Status)
Status
- Migration task status. Valid values: `2` (Creation completed), `7` (Importing full backups), `8` (Waiting for incremental backups), `9` (Import success), `10` (Import failure), `12` (Importing incremental backups).public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Migration task creation timepublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Migration task start timepublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Migration task end timepublic String getMessage()
public void setMessage(String Message)
Message
- More informationpublic MigrationDetail getDetail()
public void setDetail(MigrationDetail Detail)
Detail
- Migration detailpublic MigrationAction getAction()
public void setAction(MigrationAction Action)
Action
- Operation allowed in the current statuspublic String getIsRecovery()
public void setIsRecovery(String IsRecovery)
IsRecovery
- Whether this is the final restoration. For a full import task, this field will be left empty.
Note: this field may return ‘null’, indicating that no valid values can be obtained.public DBRenameRes[] getDBRename()
public void setDBRename(DBRenameRes[] DBRename)
DBRename
- Name set of renamed databases
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.