public class DescribeDiagnosisRecordsRequest
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 |
keyword
The keyword of the SQL statement.
|
String |
order
The order of fields in the console.
|
Integer |
pageNumber
The page number.
|
Integer |
pageSize
The number of entries per page.
|
String |
queryCondition
The filter condition on queries.
|
String |
startTime
The beginning of the time range to query.
|
String |
user
The name of the database account.
|
| 构造器和说明 |
|---|
DescribeDiagnosisRecordsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeDiagnosisRecordsRequest |
build(Map<String,?> map) |
String |
getDatabase() |
String |
getDBInstanceId() |
String |
getEndTime() |
String |
getKeyword() |
String |
getOrder() |
Integer |
getPageNumber() |
Integer |
getPageSize() |
String |
getQueryCondition() |
String |
getStartTime() |
String |
getUser() |
DescribeDiagnosisRecordsRequest |
setDatabase(String database) |
DescribeDiagnosisRecordsRequest |
setDBInstanceId(String DBInstanceId) |
DescribeDiagnosisRecordsRequest |
setEndTime(String endTime) |
DescribeDiagnosisRecordsRequest |
setKeyword(String keyword) |
DescribeDiagnosisRecordsRequest |
setOrder(String order) |
DescribeDiagnosisRecordsRequest |
setPageNumber(Integer pageNumber) |
DescribeDiagnosisRecordsRequest |
setPageSize(Integer pageSize) |
DescribeDiagnosisRecordsRequest |
setQueryCondition(String queryCondition) |
DescribeDiagnosisRecordsRequest |
setStartTime(String startTime) |
DescribeDiagnosisRecordsRequest |
setUser(String user) |
@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.
This parameter is required.
example:adbtest
@NameInMap(value="EndTime") public String endTime
The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC. The end time must be later than the start time.
example:2022-05-07T07:59Z
@NameInMap(value="Keyword") public String keyword
The keyword of the SQL statement.
example:SELECT
@NameInMap(value="Order") public String order
The order of fields in the console. You do not need to specify this parameter.
example:null
@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="QueryCondition") public String queryCondition
The filter condition on queries. Specify the value in the JSON format. Valid values:
{"Type":"maxCost", "Value":"100"}: filters the top 100 queries that are the most time-consuming.
{"Type":"status","Value":"finished"}: filters completed queries.
{"Type":"status","Value":"running"}: filters running queries.
{"Type":"cost","Min":"30","Max":"50"}: filters the queries that consume a period of 30 milliseconds to less than 50 milliseconds. You can customize a filter condition by setting Min and Max.
{ "Type":"maxCost", "Value":"100" }
@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.
example:2022-05-07T06:59Z
@NameInMap(value="User") public String user
The name of the database account.
example:adbpguser
public static DescribeDiagnosisRecordsRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeDiagnosisRecordsRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DescribeDiagnosisRecordsRequest setDatabase(String database)
public String getDatabase()
public DescribeDiagnosisRecordsRequest setEndTime(String endTime)
public String getEndTime()
public DescribeDiagnosisRecordsRequest setKeyword(String keyword)
public String getKeyword()
public DescribeDiagnosisRecordsRequest setOrder(String order)
public String getOrder()
public DescribeDiagnosisRecordsRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeDiagnosisRecordsRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeDiagnosisRecordsRequest setQueryCondition(String queryCondition)
public String getQueryCondition()
public DescribeDiagnosisRecordsRequest setStartTime(String startTime)
public String getStartTime()
public DescribeDiagnosisRecordsRequest setUser(String user)
public String getUser()
Copyright © 2024. All rights reserved.