public class DownloadDiagnosisRecordsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
database
The name of the database.
|
String |
DBInstanceId
The ID of the instance.
|
String |
endTime
The end of the time range to query.
|
String |
lang
The language of the file that contains the query diagnostic information.
|
String |
queryCondition
The filter condition on queries.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs.
|
String |
startTime
The beginning of the time range to query.
|
String |
user
The name of the database account.
|
| 构造器和说明 |
|---|
DownloadDiagnosisRecordsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DownloadDiagnosisRecordsRequest |
build(Map<String,?> map) |
String |
getDatabase() |
String |
getDBInstanceId() |
String |
getEndTime() |
String |
getLang() |
String |
getQueryCondition() |
String |
getResourceGroupId() |
String |
getStartTime() |
String |
getUser() |
DownloadDiagnosisRecordsRequest |
setDatabase(String database) |
DownloadDiagnosisRecordsRequest |
setDBInstanceId(String DBInstanceId) |
DownloadDiagnosisRecordsRequest |
setEndTime(String endTime) |
DownloadDiagnosisRecordsRequest |
setLang(String lang) |
DownloadDiagnosisRecordsRequest |
setQueryCondition(String queryCondition) |
DownloadDiagnosisRecordsRequest |
setResourceGroupId(String resourceGroupId) |
DownloadDiagnosisRecordsRequest |
setStartTime(String startTime) |
DownloadDiagnosisRecordsRequest |
setUser(String user) |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The ID of the instance.
You can call the DescribeDBInstances operation to query the details of all AnalyticDB for PostgreSQL instances in a specific 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.
example:2022-05-07T07:59Z
@NameInMap(value="Lang") public String lang
The language of the file that contains the query diagnostic information. Valid values:
zh
@NameInMap(value="QueryCondition") public String queryCondition
The filter condition on queries. The value is 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","Max":"200"}: filters the queries that consume less than 200 milliseconds.{"Type":"cost","Min":"200","Max":"60000"}: filters the queries that consume 200 milliseconds or more and less than 1 minute.{"Type":"cost","Min":"60000"}: filters the queries that consume 1 minute or more.{"Type":"cost","Min":"30","Max":"50"}: filters the queries that consume 30 milliseconds or more and less than 50 milliseconds. You can customize a filter condition by setting Min and Max.{ "Type":"maxCost", "Value":"100" }
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs. For more information about how to obtain the ID of a resource group, see View basic information of a resource group.
example:rg-bp67acfmxazb4p****
@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.
example:2022-05-07T06:59Z
@NameInMap(value="User") public String user
The name of the database account.
example:adbpguser
public static DownloadDiagnosisRecordsRequest build(Map<String,?> map) throws Exception
Exceptionpublic DownloadDiagnosisRecordsRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public DownloadDiagnosisRecordsRequest setDatabase(String database)
public String getDatabase()
public DownloadDiagnosisRecordsRequest setEndTime(String endTime)
public String getEndTime()
public DownloadDiagnosisRecordsRequest setLang(String lang)
public String getLang()
public DownloadDiagnosisRecordsRequest setQueryCondition(String queryCondition)
public String getQueryCondition()
public DownloadDiagnosisRecordsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DownloadDiagnosisRecordsRequest setStartTime(String startTime)
public String getStartTime()
public DownloadDiagnosisRecordsRequest setUser(String user)
public String getUser()
Copyright © 2024. All rights reserved.