All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.arms20190808.models.QueryMetricByPageRequest Maven / Gradle / Ivy

Go to download

Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java

There is a newer version: 10.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;

import com.aliyun.tea.*;

public class QueryMetricByPageRequest extends TeaModel {
    /**
     * 

The page number. Default value: 1.

* * example: *

1

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

Custom filter conditions.

*/ @NameInMap("CustomFilters") public java.util.List customFilters; /** *

The dimensions of the metric that you want to query.

* * example: *

["detector_browser","detector_device"]

*/ @NameInMap("Dimensions") public java.util.List dimensions; /** *

The end of the time range to query. Unit: milliseconds.

*

This parameter is required.

* * example: *

1667546895000

*/ @NameInMap("EndTime") public Long endTime; /** *

The filter conditions.

*/ @NameInMap("Filters") public java.util.List filters; /** *

The time interval at which you want to query metric data. Unit: milliseconds. Minimum value: 60000.

* * example: *

100000

*/ @NameInMap("IntervalInSec") public Integer intervalInSec; /** *

The measures of the metric that you want to query.

* * example: *

pv

*/ @NameInMap("Measures") public java.util.List measures; /** *

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("Metric") public String metric; /** *

The order in which measures are sorted. Valid values:

*
    *
  • ASC: ascending order
  • *
  • DESC: descending order
  • *
*
*

If you do not specify the parameter, data is not sorted.

*
* * example: *

ASC

*/ @NameInMap("Order") public String order; /** *

The dimension from which metrics are sorted. You can set this parameter to a supported dimension.

* * example: *

pid

*/ @NameInMap("OrderBy") public String orderBy; /** *

This parameter is no longer supported. The number of entries per page.

* * example: *

10

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The start of the time range to query. Unit: milliseconds.

*

This parameter is required.

* * example: *

1667287695000

*/ @NameInMap("StartTime") public Long startTime; public static QueryMetricByPageRequest build(java.util.Map map) throws Exception { QueryMetricByPageRequest self = new QueryMetricByPageRequest(); return TeaModel.build(map, self); } public QueryMetricByPageRequest setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public QueryMetricByPageRequest setCustomFilters(java.util.List customFilters) { this.customFilters = customFilters; return this; } public java.util.List getCustomFilters() { return this.customFilters; } public QueryMetricByPageRequest setDimensions(java.util.List dimensions) { this.dimensions = dimensions; return this; } public java.util.List getDimensions() { return this.dimensions; } public QueryMetricByPageRequest setEndTime(Long endTime) { this.endTime = endTime; return this; } public Long getEndTime() { return this.endTime; } public QueryMetricByPageRequest setFilters(java.util.List filters) { this.filters = filters; return this; } public java.util.List getFilters() { return this.filters; } public QueryMetricByPageRequest setIntervalInSec(Integer intervalInSec) { this.intervalInSec = intervalInSec; return this; } public Integer getIntervalInSec() { return this.intervalInSec; } public QueryMetricByPageRequest setMeasures(java.util.List measures) { this.measures = measures; return this; } public java.util.List getMeasures() { return this.measures; } public QueryMetricByPageRequest setMetric(String metric) { this.metric = metric; return this; } public String getMetric() { return this.metric; } public QueryMetricByPageRequest setOrder(String order) { this.order = order; return this; } public String getOrder() { return this.order; } public QueryMetricByPageRequest setOrderBy(String orderBy) { this.orderBy = orderBy; return this; } public String getOrderBy() { return this.orderBy; } public QueryMetricByPageRequest setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public QueryMetricByPageRequest setStartTime(Long startTime) { this.startTime = startTime; return this; } public Long getStartTime() { return this.startTime; } public static class QueryMetricByPageRequestFilters extends TeaModel { /** *

The key of the filter condition. You must set the key to pid or regionId.

* * example: *

pid

*/ @NameInMap("Key") public String key; /** *

The value of the filter condition. You must set the value of the pid or regionId condition. For information about how to obtain the pid, see the "Obtain the PID of an application" section.

* * example: *

xxx@74xxx

*/ @NameInMap("Value") public String value; public static QueryMetricByPageRequestFilters build(java.util.Map map) throws Exception { QueryMetricByPageRequestFilters self = new QueryMetricByPageRequestFilters(); return TeaModel.build(map, self); } public QueryMetricByPageRequestFilters setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public QueryMetricByPageRequestFilters setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy