public class DescribeDBSlowLogsRequest extends AbstractModel
Constructor and Description |
---|
DescribeDBSlowLogsRequest() |
DescribeDBSlowLogsRequest(DescribeDBSlowLogsRequest 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 |
getDb()
Get Specific name of the database to be queried
|
String |
getEndTime()
Get Query end time in the format of 2016-08-22 14:55:20
|
String |
getInstanceId()
Get Instance ID in the format of `tdsql-ow728lmc`.
|
Long |
getLimit()
Get Number of results to be returned
|
Long |
getOffset()
Get Data entry number starting from which to return results
|
String |
getOrderBy()
Get Sorting metric.
|
String |
getOrderByType()
Get Sorting order.
|
Long |
getSlave()
Get Query slow queries from either the primary or the replica.
|
String |
getStartTime()
Get Query start time in the format of 2016-07-23 14:55:20
|
void |
setDb(String Db)
Set Specific name of the database to be queried
|
void |
setEndTime(String EndTime)
Set Query end time in the format of 2016-08-22 14:55:20
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of `tdsql-ow728lmc`.
|
void |
setLimit(Long Limit)
Set Number of results to be returned
|
void |
setOffset(Long Offset)
Set Data entry number starting from which to return results
|
void |
setOrderBy(String OrderBy)
Set Sorting metric.
|
void |
setOrderByType(String OrderByType)
Set Sorting order.
|
void |
setSlave(Long Slave)
Set Query slow queries from either the primary or the replica.
|
void |
setStartTime(String StartTime)
Set Query start time in the format of 2016-07-23 14:55:20
|
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 DescribeDBSlowLogsRequest()
public DescribeDBSlowLogsRequest(DescribeDBSlowLogsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of `tdsql-ow728lmc`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Data entry number starting from which to return resultspublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results to be returnedpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query start time in the format of 2016-07-23 14:55:20public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time in the format of 2016-08-22 14:55:20public String getDb()
public void setDb(String Db)
Db
- Specific name of the database to be queriedpublic String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Sorting metric. Valid values: query_time_sum, query_countpublic String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sorting order. Valid values: desc, ascpublic Long getSlave()
public void setSlave(Long Slave)
Slave
- Query slow queries from either the primary or the replica. Valid values: 0 (primary), 1 (replica)Copyright © 2023. All rights reserved.