public class DescribeSQLLogsV2Request
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
database
The name of the database.
|
String |
DBInstanceId
The ID of instance.
|
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 SQL statement.
|
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 |
pageNumber
The number of entries to return on each page.
|
String |
pageSize
The number of the page to return.
|
String |
queryKeywords
The keywords of the SQL statement.
|
String |
regionId
The region ID of the instance.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs.
|
String |
sourceIP
The source IP address.
|
String |
startTime
The beginning of the time range.
|
String |
user
The name of the database account.
|
| 构造器和说明 |
|---|
DescribeSQLLogsV2Request() |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The ID of instance.
You can call the DescribeDBInstances operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.
This parameter is required.
example:gp-xxxxxxxx
@NameInMap(value="Database") public String database
The name of the database.
example:adbpgadmin
@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.
example:The end time must be later than the start time. The interval cannot be more than 24 hours.
2022-03-17T06:30Z
@NameInMap(value="ExecuteCost") public String executeCost
The execution duration of the SQL statement. Unit: seconds.
example:1
@NameInMap(value="ExecuteState") public String executeState
The execution status of the SQL statement. Valid values:
success
@NameInMap(value="MaxExecuteCost") public String maxExecuteCost
The maximum amount of time consumed by a slow query. Minimum value: 0. Unit: seconds.
example:1000
@NameInMap(value="MinExecuteCost") public String minExecuteCost
The minimum amount of time consumed by a slow query. Minimum value: 0. Unit: seconds.
example:1
@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.
example:
- If the OperationClass parameter is specified, the OperationType value must belong to the corresponding query language. For example, if the OperationClass value is DQL, the OperationType value must be a DQL SQL statement such as SELECT.
- If the OperationClass parameter is not specified, the OperationType value can be an SQL statement of all query languages.
- If neither of the OperationClass and OperationType parameters is specified, all types of SQL statements are returned.
SELECT
@NameInMap(value="PageNumber") public String pageNumber
The number of entries to return on each page.
example:10
@NameInMap(value="PageSize") public String pageSize
The number of the page to return. The maximum value is 200.
example:1
@NameInMap(value="QueryKeywords") public String queryKeywords
The keywords of the SQL statement.
example:select 1
@NameInMap(value="RegionId") public String regionId
The region ID of the instance.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs.
example:rg-bp67acfmxazb4p****
@NameInMap(value="SourceIP") public String sourceIP
The source IP address.
example:100.XX.XX.90
@NameInMap(value="StartTime") public String startTime
The beginning of the time range. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
example:2022-03-10T06:30Z
@NameInMap(value="User") public String user
The name of the database account.
example:testadmin
public static DescribeSQLLogsV2Request build(Map<String,?> map) throws Exception
Exceptionpublic DescribeSQLLogsV2Request setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DescribeSQLLogsV2Request setDatabase(String database)
public String getDatabase()
public DescribeSQLLogsV2Request setEndTime(String endTime)
public String getEndTime()
public DescribeSQLLogsV2Request setExecuteCost(String executeCost)
public String getExecuteCost()
public DescribeSQLLogsV2Request setExecuteState(String executeState)
public String getExecuteState()
public DescribeSQLLogsV2Request setMaxExecuteCost(String maxExecuteCost)
public String getMaxExecuteCost()
public DescribeSQLLogsV2Request setMinExecuteCost(String minExecuteCost)
public String getMinExecuteCost()
public DescribeSQLLogsV2Request setOperationClass(String operationClass)
public String getOperationClass()
public DescribeSQLLogsV2Request setOperationType(String operationType)
public String getOperationType()
public DescribeSQLLogsV2Request setPageNumber(String pageNumber)
public String getPageNumber()
public DescribeSQLLogsV2Request setPageSize(String pageSize)
public String getPageSize()
public DescribeSQLLogsV2Request setQueryKeywords(String queryKeywords)
public String getQueryKeywords()
public DescribeSQLLogsV2Request setRegionId(String regionId)
public String getRegionId()
public DescribeSQLLogsV2Request setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeSQLLogsV2Request setSourceIP(String sourceIP)
public String getSourceIP()
public DescribeSQLLogsV2Request setStartTime(String startTime)
public String getStartTime()
public DescribeSQLLogsV2Request setUser(String user)
public String getUser()
Copyright © 2024. All rights reserved.