public class BackupDownloadTask extends AbstractModel
Constructor and Description |
---|
BackupDownloadTask() |
BackupDownloadTask(BackupDownloadTask 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 |
getBackupDesc()
Get Backup description you set when starting a backup task
Note: This field may return `null`, indicating that no valid values can be obtained.
|
Long |
getBackupMethod()
Get Backup type of the backup file.
|
String |
getBackupName()
Get Backup name
|
Long |
getBackupSize()
Get Backup size in bytes
|
String |
getCreateTime()
Get Task creation time
|
Long |
getPercent()
Get Task progress in percentage
|
String |
getReplicaSetId()
Get Shard name
|
Long |
getStatus()
Get Task status.
|
Long |
getTimeSpend()
Get Task duration in seconds
|
String |
getUrl()
Get Backup download address
|
void |
setBackupDesc(String BackupDesc)
Set Backup description you set when starting a backup task
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setBackupMethod(Long BackupMethod)
Set Backup type of the backup file.
|
void |
setBackupName(String BackupName)
Set Backup name
|
void |
setBackupSize(Long BackupSize)
Set Backup size in bytes
|
void |
setCreateTime(String CreateTime)
Set Task creation time
|
void |
setPercent(Long Percent)
Set Task progress in percentage
|
void |
setReplicaSetId(String ReplicaSetId)
Set Shard name
|
void |
setStatus(Long Status)
Set Task status.
|
void |
setTimeSpend(Long TimeSpend)
Set Task duration in seconds
|
void |
setUrl(String Url)
Set Backup download address
|
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 BackupDownloadTask()
public BackupDownloadTask(BackupDownloadTask source)
public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Task creation timepublic String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Backup namepublic String getReplicaSetId()
public void setReplicaSetId(String ReplicaSetId)
ReplicaSetId
- Shard namepublic Long getBackupSize()
public void setBackupSize(Long BackupSize)
BackupSize
- Backup size in bytespublic Long getStatus()
public void setStatus(Long Status)
Status
- Task status. Valid values: `0` (waiting for execution), `1` (downloading), `2` (downloaded), `3` (download failed), `4` (waiting for retry)public Long getPercent()
public void setPercent(Long Percent)
Percent
- Task progress in percentagepublic Long getTimeSpend()
public void setTimeSpend(Long TimeSpend)
TimeSpend
- Task duration in secondspublic String getUrl()
public void setUrl(String Url)
Url
- Backup download addresspublic Long getBackupMethod()
public void setBackupMethod(Long BackupMethod)
BackupMethod
- Backup type of the backup file. Valid values: `0` (logical backup), `1` (physical backup)public String getBackupDesc()
public void setBackupDesc(String BackupDesc)
BackupDesc
- Backup description you set when starting a backup task
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.