public class DescribeDBDiagReportTasksRequest extends AbstractModel
Constructor and Description |
---|
DescribeDBDiagReportTasksRequest() |
DescribeDBDiagReportTasksRequest(DescribeDBDiagReportTasksRequest 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 |
getEndTime()
Get End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14.
|
String |
getHealthLevels()
Get Health level.
|
String[] |
getInstanceIds()
Get Array of instance IDs, which is used to filter the task list of the specified instance.
|
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
String |
getProduct()
Get Service type.
|
String[] |
getSources()
Get Source that triggers the task.
|
String |
getStartTime()
Get Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14.
|
String |
getTaskStatuses()
Get Task status.
|
void |
setEndTime(String EndTime)
Set End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14.
|
void |
setHealthLevels(String HealthLevels)
Set Health level.
|
void |
setInstanceIds(String[] InstanceIds)
Set Array of instance IDs, which is used to filter the task list of the specified instance.
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setProduct(String Product)
Set Service type.
|
void |
setSources(String[] Sources)
Set Source that triggers the task.
|
void |
setStartTime(String StartTime)
Set Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14.
|
void |
setTaskStatuses(String TaskStatuses)
Set Task status.
|
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 DescribeDBDiagReportTasksRequest()
public DescribeDBDiagReportTasksRequest(DescribeDBDiagReportTasksRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Array of instance IDs, which is used to filter the task list of the specified instance.public String[] getSources()
public void setSources(String[] Sources)
Sources
- Source that triggers the task. Valid values: `DAILY_INSPECTION` (instance inspection), `SCHEDULED` (scheduled task), and `MANUAL` (manual trigger).public String getHealthLevels()
public void setHealthLevels(String HealthLevels)
HealthLevels
- Health level. Valid values: `HEALTH` (healthy), `SUB_HEALTH` (suboptimal), `RISK` (risky), and `HIGH_RISK` (critical).public String getTaskStatuses()
public void setTaskStatuses(String TaskStatuses)
TaskStatuses
- Task status. Valid values: `created` (created), `chosen` (to be executed), `running` (being executed), `failed` (failed), and `finished` (completed).public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: `0`.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: `20`. Maximum value: `100`.public String getProduct()
public void setProduct(String Product)
Product
- Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`.Copyright © 2023. All rights reserved.