public class DescribeSQLLogCountRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
database
The name of the database.
|
String |
DBInstanceId
The instance ID.
|
String |
endTime
The end of the time range to query.
|
String |
executeCost
The execution duration of the SQL statement.
|
String |
executeState
The execution status of the query.
|
String |
maxExecuteCost
The maximum amount of time consumed by a slow query.
|
String |
minExecuteCost
The minimum amount of time consumed by a slow query.
|
String |
operationClass
The type of the query language.
|
String |
operationType
The type of the SQL statement.
|
String |
queryKeywords
The keywords that are used to query audit logs.
|
String |
sourceIP
The source IP address.
|
String |
startTime
The beginning of the time range to query.
|
String |
user
The name of the database account that is used to connect to the database.
|
| 构造器和说明 |
|---|
DescribeSQLLogCountRequest() |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
This parameter is required.
example:gp-xxxxxxxx
@NameInMap(value="Database") public String database
The name of the database.
example:testdb
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
The end time must be later than the start time. The maximum time range that can be specified is seven days.
This parameter is required.
example:2020-12-14T11:22Z
@NameInMap(value="ExecuteCost") public String executeCost
The execution duration of the SQL statement. Unit: seconds.
example:100
@NameInMap(value="ExecuteState") public String executeState
The execution status of the query. Valid values:
success
@NameInMap(value="MaxExecuteCost") public String maxExecuteCost
The maximum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.
example:1000
@NameInMap(value="MinExecuteCost") public String minExecuteCost
The minimum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.
example:10
@NameInMap(value="OperationClass") public String operationClass
The type of the query language. Valid values:
DQL
@NameInMap(value="OperationType") public String operationType
The type of the SQL statement.
If you specify OperationClass, the value of OperationType must be of the corresponding query language. For example, if you set OperationClass to DQL, the value of OperationType must be a DQL statement such as SELECT.
If you leave OperationClass empty, the value of OperationType can be an SQL statement of any query language.
If you leave OperationClass and OperationType empty, all types of SQL statements are returned.
SELECT
@NameInMap(value="QueryKeywords") public String queryKeywords
The keywords that are used to query audit logs.
example:test
@NameInMap(value="SourceIP") public String sourceIP
The source IP address.
example:10...13
@NameInMap(value="StartTime") public String startTime
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
This parameter is required.
example:2020-12-12T11:22Z
@NameInMap(value="User") public String user
The name of the database account that is used to connect to the database.
example:adbpgadmin
public static DescribeSQLLogCountRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeSQLLogCountRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DescribeSQLLogCountRequest setDatabase(String database)
public String getDatabase()
public DescribeSQLLogCountRequest setEndTime(String endTime)
public String getEndTime()
public DescribeSQLLogCountRequest setExecuteCost(String executeCost)
public String getExecuteCost()
public DescribeSQLLogCountRequest setExecuteState(String executeState)
public String getExecuteState()
public DescribeSQLLogCountRequest setMaxExecuteCost(String maxExecuteCost)
public String getMaxExecuteCost()
public DescribeSQLLogCountRequest setMinExecuteCost(String minExecuteCost)
public String getMinExecuteCost()
public DescribeSQLLogCountRequest setOperationClass(String operationClass)
public String getOperationClass()
public DescribeSQLLogCountRequest setOperationType(String operationType)
public String getOperationType()
public DescribeSQLLogCountRequest setQueryKeywords(String queryKeywords)
public String getQueryKeywords()
public DescribeSQLLogCountRequest setSourceIP(String sourceIP)
public String getSourceIP()
public DescribeSQLLogCountRequest setStartTime(String startTime)
public String getStartTime()
public DescribeSQLLogCountRequest setUser(String user)
public String getUser()
Copyright © 2024. All rights reserved.