public class MigrateTask extends AbstractModel
Constructor and Description |
---|
MigrateTask() |
MigrateTask(MigrateTask 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 |
getAppId()
Get User ID of migration task
|
Long |
getCheckFlag()
Get Whether migration task has been checked (0: not checked, 1: check succeeded, 2: check failed, 3: checking)
|
String |
getCreateTime()
Get Migration task creation time
|
String |
getEndTime()
Get Migration task end time
|
String |
getMessage()
Get Information
|
MigrateDetail |
getMigrateDetail()
Get Migration task progress details
|
Long |
getMigrateId()
Get Migration task ID
|
String |
getMigrateName()
Get Migration task name
|
Long |
getProgress()
Get Migration task progress in %
|
String |
getRegion()
Get Migration task region
|
Long |
getSourceType()
Get Migration source type.
|
String |
getStartTime()
Get Migration task start time
|
Long |
getStatus()
Get Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded, 7: suspended, 8: deleted, 9: suspending, 10: completing, 11: suspension failed, 12: completion failed)
|
void |
setAppId(Long AppId)
Set User ID of migration task
|
void |
setCheckFlag(Long CheckFlag)
Set Whether migration task has been checked (0: not checked, 1: check succeeded, 2: check failed, 3: checking)
|
void |
setCreateTime(String CreateTime)
Set Migration task creation time
|
void |
setEndTime(String EndTime)
Set Migration task end time
|
void |
setMessage(String Message)
Set Information
|
void |
setMigrateDetail(MigrateDetail MigrateDetail)
Set Migration task progress details
|
void |
setMigrateId(Long MigrateId)
Set Migration task ID
|
void |
setMigrateName(String MigrateName)
Set Migration task name
|
void |
setProgress(Long Progress)
Set Migration task progress in %
|
void |
setRegion(String Region)
Set Migration task region
|
void |
setSourceType(Long SourceType)
Set Migration source type.
|
void |
setStartTime(String StartTime)
Set Migration task start time
|
void |
setStatus(Long Status)
Set Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded, 7: suspended, 8: deleted, 9: suspending, 10: completing, 11: suspension failed, 12: completion failed)
|
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 MigrateTask()
public MigrateTask(MigrateTask source)
public Long getMigrateId()
public void setMigrateId(Long MigrateId)
MigrateId
- Migration task IDpublic String getMigrateName()
public void setMigrateName(String MigrateName)
MigrateName
- Migration task namepublic Long getAppId()
public void setAppId(Long AppId)
AppId
- User ID of migration taskpublic String getRegion()
public void setRegion(String Region)
Region
- Migration task regionpublic Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)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 Long getStatus()
public void setStatus(Long Status)
Status
- Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded, 7: suspended, 8: deleted, 9: suspending, 10: completing, 11: suspension failed, 12: completion failed)public String getMessage()
public void setMessage(String Message)
Message
- Informationpublic Long getCheckFlag()
public void setCheckFlag(Long CheckFlag)
CheckFlag
- Whether migration task has been checked (0: not checked, 1: check succeeded, 2: check failed, 3: checking)public Long getProgress()
public void setProgress(Long Progress)
Progress
- Migration task progress in %public MigrateDetail getMigrateDetail()
public void setMigrateDetail(MigrateDetail MigrateDetail)
MigrateDetail
- Migration task progress detailsCopyright © 2023. All rights reserved.