public class DescribeDetailedSlowLogsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDetailedSlowLogsRequest() |
DescribeDetailedSlowLogsRequest(DescribeDetailedSlowLogsRequest 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[] |
getCommands()
Get Specifies the command type for querying slow logs.
|
String |
getEndTime()
Get Specifies the end time for querying slow logs.
|
Long |
getExecTime()
Get Specifies the threshold for querying slow logs, in milliseconds.
|
String |
getInstanceId()
Get Instance ID.
|
Long |
getLimit()
Get Number of returned entries.
|
String[] |
getNodeNames()
Get Specifies the node name for querying slow logs.
|
Long |
getOffset()
Get Pagination offset.
|
String |
getOrderBy()
Get Specifies the sorting condition for slow logs.
|
String |
getOrderByType()
Get Specifies the sorting method.
|
String[] |
getQueryHash()
Get Specifies the queryHash value to be queried.
|
String |
getStartTime()
Get Specifies the start time for querying slow logs.
|
String[] |
getTexts()
Get Full-text search keyword.
|
void |
setCommands(String[] Commands)
Set Specifies the command type for querying slow logs.
|
void |
setEndTime(String EndTime)
Set Specifies the end time for querying slow logs.
|
void |
setExecTime(Long ExecTime)
Set Specifies the threshold for querying slow logs, in milliseconds.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setLimit(Long Limit)
Set Number of returned entries.
|
void |
setNodeNames(String[] NodeNames)
Set Specifies the node name for querying slow logs.
|
void |
setOffset(Long Offset)
Set Pagination offset.
|
void |
setOrderBy(String OrderBy)
Set Specifies the sorting condition for slow logs.
|
void |
setOrderByType(String OrderByType)
Set Specifies the sorting method.
|
void |
setQueryHash(String[] QueryHash)
Set Specifies the queryHash value to be queried.
|
void |
setStartTime(String StartTime)
Set Specifies the start time for querying slow logs.
|
void |
setTexts(String[] Texts)
Set Full-text search keyword.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeDetailedSlowLogsRequest()
public DescribeDetailedSlowLogsRequest(DescribeDetailedSlowLogsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and copy the instance ID from the instance list.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Specifies the start time for querying slow logs. - Format: yyyy-mm-dd hh:mm:ss. For example, 2019-06-01 10:00:00. - The query start and end time interval cannot exceed 24 hours. Only slow logs within the last 7 days can be queried.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Specifies the end time for querying slow logs.
- Format: yyyy-mm-dd hh:mm:ss. For example, 2019-06-02 12:00:00.
- The query start and end time interval cannot exceed 24 hours. Only slow logs within the last 7 days can be queried.public Long getExecTime()
public void setExecTime(Long ExecTime)
ExecTime
- Specifies the threshold for querying slow logs, in milliseconds. It indicates that the execution time of the slow log query exceeds this value. The default value is 100.public String[] getCommands()
public void setCommands(String[] Commands)
Commands
- Specifies the command type for querying slow logs.public String[] getTexts()
public void setTexts(String[] Texts)
Texts
- Full-text search keyword. The logical operator among multiple keywords is OR.public String[] getNodeNames()
public void setNodeNames(String[] NodeNames)
NodeNames
- Specifies the node name for querying slow logs. The [DescribeDBInstanceNodeProperty](https://www.tencentcloud.comom/document/product/240/82022?from_cn_redirect=1) API can be called to query the node name.public String[] getQueryHash()
public void setQueryHash(String[] QueryHash)
QueryHash
- Specifies the queryHash value to be queried.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset. The default value is 0, and the value range is [0, 100].public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned entries. The default value is 20, and the value range is [0, 10000].public String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Specifies the sorting condition for slow logs.
- StartTime: sort by the generation time of slow logs.
- ExecTime: sort by the execution time of slow logs.public String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Specifies the sorting method.
- desc: descending order.
- asc: ascending order.Copyright © 2025. All rights reserved.