public class DescribeTasksRequest extends AbstractModel
Constructor and Description |
---|
DescribeTasksRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAsyncRequestId()
Get ID of an async task request, i.e., `AsyncRequestId` returned by relevant TencentDB operations.
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv.
|
Long |
getLimit()
Get Number of results to be returned for a single request.
|
Long |
getOffset()
Get Record offset.
|
String |
getStartTimeBegin()
Get Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01.
|
String |
getStartTimeEnd()
Get End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01.
|
Long[] |
getTaskStatus()
Get Task status.
|
Long[] |
getTaskTypes()
Get Task type.
|
void |
setAsyncRequestId(String AsyncRequestId)
Set ID of an async task request, i.e., `AsyncRequestId` returned by relevant TencentDB operations.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv.
|
void |
setLimit(Long Limit)
Set Number of results to be returned for a single request.
|
void |
setOffset(Long Offset)
Set Record offset.
|
void |
setStartTimeBegin(String StartTimeBegin)
Set Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01.
|
void |
setStartTimeEnd(String StartTimeEnd)
Set End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01.
|
void |
setTaskStatus(Long[] TaskStatus)
Set Task status.
|
void |
setTaskTypes(Long[] TaskTypes)
Set Task 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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://cloud.tencent.com/document/api/236/15872) to query the ID, whose value is the `InstanceId` value in output parameters.public String getAsyncRequestId()
public void setAsyncRequestId(String AsyncRequestId)
AsyncRequestId
- ID of an async task request, i.e., `AsyncRequestId` returned by relevant TencentDB operations.public Long[] getTaskTypes()
public void setTaskTypes(Long[] TaskTypes)
TaskTypes
- Task type. If no value is passed in, all task types will be queried. Valid values:
1 - rolling back a database;
2 - performing an SQL operation;
3 - importing data;
5 - setting a parameter;
6 - initializing a TencentDB instance;
7 - restarting a TencentDB instance;
8 - enabling GTID of a TencentDB instance;
9 - upgrading a read-only instance;
10 - rolling back databases in batches;
11 - upgrading a primary instance;
12 - deleting a TencentDB table;
13 - promoting a disaster recovery instance.public Long[] getTaskStatus()
public void setTaskStatus(Long[] TaskStatus)
TaskStatus
- Task status. If no value is passed in, all task statuses will be queried. Valid values:
-1 - undefined;
0 - initializing;
1 - running;
2 - succeeded;
3 - failed;
4 - terminated;
5 - deleted;
6 - paused.public String getStartTimeBegin()
public void setStartTimeBegin(String StartTimeBegin)
StartTimeBegin
- Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range.public String getStartTimeEnd()
public void setStartTimeEnd(String StartTimeEnd)
StartTimeEnd
- End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Record offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results to be returned for a single request. Default value: 20. Maximum value: 100.Copyright © 2020. All rights reserved.