public class DownloadSQLLogsRecordsRequest
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 SQL statement.
|
String |
lang
The language of the file that contains the query diagnostic information.
|
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.
|
Integer |
pageNumber
The page number.
|
Integer |
pageSize
The number of entries per page.
|
String |
queryKeywords
The keywords that are used for query.
|
String |
sourceIP
The source IP address.
|
String |
startTime
The beginning of the time range to query.
|
String |
user
The name of the database account.
|
| 构造器和说明 |
|---|
DownloadSQLLogsRecordsRequest() |
@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-bp12ga6v69h86****
@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 yyyy-MM-ddTHH:mm:ssZ format. The end time must be later than the start time.
This parameter is required.
example:2023-05-08T06:59Z
@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.
1
@NameInMap(value="Lang") public String lang
The language of the file that contains the query diagnostic information. Valid values:
zh
@NameInMap(value="MaxExecuteCost") public String maxExecuteCost
The maximum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.
example:999
@NameInMap(value="MinExecuteCost") public String minExecuteCost
The minimum amount of time consumed by a slow query. Unit: seconds. Minimum value: 0.
example:1
@NameInMap(value="OperationClass") public String operationClass
The type of the query language. Example: DQL, DML, or DDL.
example:DQL
@NameInMap(value="OperationType") public String operationType
The type of the SQL statement. Example: SELECT.
example:SELECT
@NameInMap(value="PageNumber") public Integer pageNumber
The page number. Pages start from page 1. Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries per page. Valid values:
Default value: 30.
example:30
@NameInMap(value="QueryKeywords") public String queryKeywords
The keywords that are used for query.
example:select 1
@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 to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.
This parameter is required.
example:2023-05-07T06:59Z
@NameInMap(value="User") public String user
The name of the database account.
example:testuser
public static DownloadSQLLogsRecordsRequest build(Map<String,?> map) throws Exception
Exceptionpublic DownloadSQLLogsRecordsRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DownloadSQLLogsRecordsRequest setDatabase(String database)
public String getDatabase()
public DownloadSQLLogsRecordsRequest setEndTime(String endTime)
public String getEndTime()
public DownloadSQLLogsRecordsRequest setExecuteCost(String executeCost)
public String getExecuteCost()
public DownloadSQLLogsRecordsRequest setExecuteState(String executeState)
public String getExecuteState()
public DownloadSQLLogsRecordsRequest setLang(String lang)
public String getLang()
public DownloadSQLLogsRecordsRequest setMaxExecuteCost(String maxExecuteCost)
public String getMaxExecuteCost()
public DownloadSQLLogsRecordsRequest setMinExecuteCost(String minExecuteCost)
public String getMinExecuteCost()
public DownloadSQLLogsRecordsRequest setOperationClass(String operationClass)
public String getOperationClass()
public DownloadSQLLogsRecordsRequest setOperationType(String operationType)
public String getOperationType()
public DownloadSQLLogsRecordsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DownloadSQLLogsRecordsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DownloadSQLLogsRecordsRequest setQueryKeywords(String queryKeywords)
public String getQueryKeywords()
public DownloadSQLLogsRecordsRequest setSourceIP(String sourceIP)
public String getSourceIP()
public DownloadSQLLogsRecordsRequest setStartTime(String startTime)
public String getStartTime()
public DownloadSQLLogsRecordsRequest setUser(String user)
public String getUser()
Copyright © 2024. All rights reserved.