public class DescribeSlowLogPatternsRequest extends AbstractModel
Constructor and Description |
---|
DescribeSlowLogPatternsRequest() |
DescribeSlowLogPatternsRequest(DescribeSlowLogPatternsRequest 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 slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-02 12:00:00.
|
String |
getFormat()
Get Slow log format, which can be JSON.
|
String |
getInstanceId()
Get Instance ID in the format of `cmgo-p8vnipr5`, which is the same as the instance ID displayed on the TencentDB Console page
|
Long |
getLimit()
Get Number of entries per page.
|
Long |
getOffset()
Get Offset.
|
Long |
getSlowMS()
Get Threshold of slow log execution time in milliseconds.
|
String |
getStartTime()
Get Start time of slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-01 10:00:00.
|
void |
setEndTime(String EndTime)
Set End time of slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-02 12:00:00.
|
void |
setFormat(String Format)
Set Slow log format, which can be JSON.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of `cmgo-p8vnipr5`, which is the same as the instance ID displayed on the TencentDB Console page
|
void |
setLimit(Long Limit)
Set Number of entries per page.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setSlowMS(Long SlowMS)
Set Threshold of slow log execution time in milliseconds.
|
void |
setStartTime(String StartTime)
Set Start time of slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-01 10:00:00.
|
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 DescribeSlowLogPatternsRequest()
public DescribeSlowLogPatternsRequest(DescribeSlowLogPatternsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of `cmgo-p8vnipr5`, which is the same as the instance ID displayed on the TencentDB Console pagepublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time of slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-01 10:00:00. The query time range cannot exceed 24 hours. Only slow logs for the last 7 days can be queried.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of slow log in the format of `yyyy-mm-dd hh:mm:ss`, such as 2019-06-02 12:00:00. The query time range cannot exceed 24 hours. Only slow logs for the last 7 days can be queried.public Long getSlowMS()
public void setSlowMS(Long SlowMS)
SlowMS
- Threshold of slow log execution time in milliseconds. Minimum value: 100. Slow logs whose execution time exceeds the threshold will be returned.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Minimum value: 0. Maximum value: 10000. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of entries per page. Minimum value: 1. Maximum value: 100. Default value: 20.public String getFormat()
public void setFormat(String Format)
Format
- Slow log format, which can be JSON. If this parameter is left empty, the slow log will be returned in its native format.Copyright © 2023. All rights reserved.