public class DescribeDBSlowlogsRequest extends AbstractModel
Constructor and Description |
---|
DescribeDBSlowlogsRequest() |
DescribeDBSlowlogsRequest(DescribeDBSlowlogsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatabaseName()
Get Database name
|
String |
getDBInstanceId()
Get Instance ID in the format of postgres-lnp6j617
|
String |
getEndTime()
Get Query end time in the format of 2018-06-10 17:06:38
|
Long |
getLimit()
Get Number of entries returned per page.
|
Long |
getOffset()
Get Page number for data return in paged query.
|
String |
getOrderBy()
Get Metric for sorting.
|
String |
getOrderByType()
Get Sorting order.
|
String |
getStartTime()
Get Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
|
void |
setDatabaseName(String DatabaseName)
Set Database name
|
void |
setDBInstanceId(String DBInstanceId)
Set Instance ID in the format of postgres-lnp6j617
|
void |
setEndTime(String EndTime)
Set Query end time in the format of 2018-06-10 17:06:38
|
void |
setLimit(Long Limit)
Set Number of entries returned per page.
|
void |
setOffset(Long Offset)
Set Page number for data return in paged query.
|
void |
setOrderBy(String OrderBy)
Set Metric for sorting.
|
void |
setOrderByType(String OrderByType)
Set Sorting order.
|
void |
setStartTime(String StartTime)
Set Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days ago
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeDBSlowlogsRequest()
public DescribeDBSlowlogsRequest(DescribeDBSlowlogsRequest source)
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- Instance ID in the format of postgres-lnp6j617public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query start time in the format of 2018-06-10 17:06:38, which cannot be more than 7 days agopublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time in the format of 2018-06-10 17:06:38public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName
- Database namepublic String getOrderBy()
public void setOrderBy(String OrderBy)
OrderBy
- Metric for sorting. Valid values: `sum_calls` (total number of calls), `sum_cost_time` (total time consumed)public String getOrderByType()
public void setOrderByType(String OrderByType)
OrderByType
- Sorting order. desc: descending, asc: ascendingpublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of entries returned per page. Value range: 1-100. Default value: 20.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Page number for data return in paged query. Pagination starts from 0Copyright © 2023. All rights reserved.