public class DescribeBackupDownloadTaskRequest extends AbstractModel
Constructor and Description |
---|
DescribeBackupDownloadTaskRequest() |
DescribeBackupDownloadTaskRequest(DescribeBackupDownloadTaskRequest 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 |
getBackupName()
Get The name of a backup file with download tasks to be queried
|
String |
getEndTime()
Get The end time of the query period.
|
String |
getInstanceId()
Get Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB console
|
Long |
getLimit()
Get The maximum number of results returned per page.
|
Long |
getOffset()
Get Offset for pagination.
|
String |
getOrderBy()
Get The field used to sort the results.
|
String |
getOrderByType()
Get Sort order.
|
String |
getStartTime()
Get The start time of the query period.
|
Long[] |
getStatus()
Get The status of the tasks to be queried.
|
void |
setBackupName(String BackupName)
Set The name of a backup file with download tasks to be queried
|
void |
setEndTime(String EndTime)
Set The end time of the query period.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB console
|
void |
setLimit(Long Limit)
Set The maximum number of results returned per page.
|
void |
setOffset(Long Offset)
Set Offset for pagination.
|
void |
setOrderBy(String OrderBy)
Set The field used to sort the results.
|
void |
setOrderByType(String OrderByType)
Set Sort order.
|
void |
setStartTime(String StartTime)
Set The start time of the query period.
|
void |
setStatus(Long[] Status)
Set The status of the tasks to be queried.
|
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 DescribeBackupDownloadTaskRequest()
public DescribeBackupDownloadTaskRequest(DescribeBackupDownloadTaskRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of "cmgo-p8vnipr5", which is the same as the instance ID displayed in the TencentDB consolepublic String getBackupName()
public void setBackupName(String BackupName)
BackupName
- The name of a backup file with download tasks to be queriedpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- The start time of the query period. Tasks whose start time and end time fall within the query period will be queried. If it is left empty, the start time can be any time earlier than the end time.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- The end time of the query period. Tasks will be queried if their start and end times fall within the query period. If it is left empty, the end time can be any time later than the start time.public Long getLimit()
public void setLimit(Long Limit)
Limit
- The maximum number of results returned per page. Value range: 1-100. Default value: `20`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset for pagination. Default value: `0`.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- The field used to sort the results. Valid values: `createTime` (default), `finishTime`.public String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sort order. Valid values: `asc`, `desc` (default).public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- The status of the tasks to be queried. Valid values: `0` (waiting for execution), `1` (downloading), `2` (downloaded), `3` (download failed), `4` (waiting for retry). If it is left empty, tasks in any status will be returned.Copyright © 2023. All rights reserved.