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 dcdbt-hw0qj6m1
|
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.
|
String |
getShardId()
Get Shard ID of the instance in the format of shard-53ima8ln
|
Long |
getSlave()
Get Query slow queries from either the source 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 dcdbt-hw0qj6m1
|
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 |
setShardId(String ShardId)
Set Shard ID of the instance in the format of shard-53ima8ln
|
void |
setSlave(Long Slave)
Set Query slow queries from either the source 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 dcdbt-hw0qj6m1public 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 getShardId()
public void setShardId(String ShardId)
ShardId
- Shard ID of the instance in the format of shard-53ima8lnpublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time in the format of 2016-08-22 14:55:20. If this parameter is left empty, the current time will be used as the query end time.public 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_count`. Default value: `query_time_sum`public String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sorting order. Valid values: `desc` (descending), `asc` (ascending). Default value: `desc`public Long getSlave()
public void setSlave(Long Slave)
Slave
- Query slow queries from either the source or the replica. Valid values: `0` (source), `1` (replica). Default value: `0`Copyright © 2023. All rights reserved.