public class QueryMetricByPageRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QueryMetricByPageRequest.QueryMetricByPageRequestFilters |
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
currentPage
The number of the page to return.
|
List<String> |
customFilters
Custom filter conditions.
|
List<String> |
dimensions
The dimensions of the metric that you want to query.
|
Long |
endTime
The end of the time range to query.
|
List<QueryMetricByPageRequest.QueryMetricByPageRequestFilters> |
filters
The filter conditions.
|
Integer |
intervalInSec
The time interval at which data entries are aggregated.
|
List<String> |
measures
The measures of the metric that you want to query.
|
String |
metric
The metric that you want to query.
|
String |
order
The order in which measures are sorted.
|
String |
orderBy
The dimension from which metrics are sorted.
|
Integer |
pageSize
The number of entries to return on each page.
|
Long |
startTime
The start of the time range to query.
|
| 构造器和说明 |
|---|
QueryMetricByPageRequest() |
@NameInMap(value="CurrentPage") public Integer currentPage
The number of the page to return. Default value: 1.
1
@NameInMap(value="CustomFilters") public List<String> customFilters
Custom filter conditions.
@NameInMap(value="Dimensions") public List<String> dimensions
The dimensions of the metric that you want to query.
example:["detector_browser","detector_device"]
@NameInMap(value="EndTime") public Long endTime
The end of the time range to query. Unit: milliseconds.
This parameter is required.
example:1667546895000
@NameInMap(value="Filters") public List<QueryMetricByPageRequest.QueryMetricByPageRequestFilters> filters
The filter conditions.
@NameInMap(value="IntervalInSec") public Integer intervalInSec
The time interval at which data entries are aggregated. Unit: milliseconds. Minimum value: 60000.
example:100000
@NameInMap(value="Measures") public List<String> measures
The measures of the metric that you want to query.
example:pv
@NameInMap(value="Metric") public String metric
The metric that you want to query. You cannot specify a custom metric. For more information, see the "Application monitoring metrics that can be queried" section.
This parameter is required.
example:appstat.host
@NameInMap(value="Order") public String order
The order in which measures are sorted. Valid values:
ASC: ascending orderDESC: descending orderexample:If you do not specify the parameter, data is not sorted.
ASC
@NameInMap(value="OrderBy") public String orderBy
The dimension from which metrics are sorted. You can set this parameter to a supported dimension.
example:pid
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. This parameter is no longer supported. The number of entries to return on each page.
example:10
@NameInMap(value="StartTime") public Long startTime
The start of the time range to query. Unit: milliseconds.
This parameter is required.
example:1667287695000
public static QueryMetricByPageRequest build(Map<String,?> map) throws Exception
Exceptionpublic QueryMetricByPageRequest setCurrentPage(Integer currentPage)
public Integer getCurrentPage()
public QueryMetricByPageRequest setCustomFilters(List<String> customFilters)
public QueryMetricByPageRequest setDimensions(List<String> dimensions)
public QueryMetricByPageRequest setEndTime(Long endTime)
public Long getEndTime()
public QueryMetricByPageRequest setFilters(List<QueryMetricByPageRequest.QueryMetricByPageRequestFilters> filters)
public List<QueryMetricByPageRequest.QueryMetricByPageRequestFilters> getFilters()
public QueryMetricByPageRequest setIntervalInSec(Integer intervalInSec)
public Integer getIntervalInSec()
public QueryMetricByPageRequest setMeasures(List<String> measures)
public QueryMetricByPageRequest setMetric(String metric)
public String getMetric()
public QueryMetricByPageRequest setOrder(String order)
public String getOrder()
public QueryMetricByPageRequest setOrderBy(String orderBy)
public String getOrderBy()
public QueryMetricByPageRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public QueryMetricByPageRequest setStartTime(Long startTime)
public Long getStartTime()
Copyright © 2024. All rights reserved.