public class DescribeSlowLogTopSqlsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeSlowLogTopSqlsRequest() |
DescribeSlowLogTopSqlsRequest(DescribeSlowLogTopSqlsRequest 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 in the format of "2019-09-11 10:13:14".
|
String |
getInstanceId()
Get Instance ID.
|
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
String |
getOrderBy()
Get Sorting order.
|
String |
getProduct()
Get Service type.
|
SchemaItem[] |
getSchemaList()
Get Database name array.
|
String |
getSortBy()
Get Sorting key.
|
String |
getStartTime()
Get Start time, such as "2019-09-10 12:13:14".
|
void |
setEndTime(String EndTime)
Set End time in the format of "2019-09-11 10:13:14".
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setOrderBy(String OrderBy)
Set Sorting order.
|
void |
setProduct(String Product)
Set Service type.
|
void |
setSchemaList(SchemaItem[] SchemaList)
Set Database name array.
|
void |
setSortBy(String SortBy)
Set Sorting key.
|
void |
setStartTime(String StartTime)
Set Start time, such as "2019-09-10 12:13:14".
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeSlowLogTopSqlsRequest()
public DescribeSlowLogTopSqlsRequest(DescribeSlowLogTopSqlsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time, such as "2019-09-10 12:13:14".public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days.public String getSortBy()
public void setSortBy(String SortBy)
SortBy
- Sorting key. Valid values: `QueryTime`, `ExecTimes`, `RowsSent`, `LockTime`, `RowsExamined`. Default value: `QueryTime`.public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Sorting order. Valid values: `ASC` (ascending), `DESC` (descending). Default value: `DESC`.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. Default value: `20`. Maximum value: `100`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: `0`.public SchemaItem[] getSchemaList()
public void setSchemaList(SchemaItem[] SchemaList)
SchemaList
- Database name array.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 © 2024. All rights reserved.