public class CursorRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
endTime
The end of the time range to query.
|
List<Matcher> |
matchers
The dimension information of the metric.
|
String |
metric
The metric that is used to monitor the cloud service.
|
String |
namespace
The namespace of the cloud service.
|
Integer |
period
The time interval based on which the metric value is measured.
|
String |
startTime
The beginning of the time range to query.
|
| 构造器和说明 |
|---|
CursorRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CursorRequest |
build(Map<String,?> map) |
String |
getEndTime() |
List<Matcher> |
getMatchers() |
String |
getMetric() |
String |
getNamespace() |
Integer |
getPeriod() |
String |
getStartTime() |
CursorRequest |
setEndTime(String endTime) |
CursorRequest |
setMatchers(List<Matcher> matchers) |
CursorRequest |
setMetric(String metric) |
CursorRequest |
setNamespace(String namespace) |
CursorRequest |
setPeriod(Integer period) |
CursorRequest |
setStartTime(String startTime) |
@NameInMap(value="EndTime") public String endTime
The end of the time range to query.
Unit: milliseconds.
>
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. For example, 2023-01-01T00:00:00Z indicates January 1, 2023, 00:00:00 UTC.
* If you do not set the end time, the end time is infinite. You can leave this parameter empty in real-time export scenarios.
* In CloudMonitor, the TTL of monitoring data varies with the time granularity. Specify a proper time interval based on the TTL corresponding to the value of the `Period` parameter.
@NameInMap(value="Matchers") public List<Matcher> matchers
The dimension information of the metric.
@NameInMap(value="Metric") public String metric
The metric that is used to monitor the cloud service.
For more information about the metrics of cloud services, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Period") public Integer period
The time interval based on which the metric value is measured.
Unit: seconds.
> Generally, the time interval is 60 seconds. For more information about specific values, see the `Period` parameter in [Appendix 1: Metrics](~~163515~~).
@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:mm:ssZ format. The time must be in UTC. For example, 2023-01-01T00:00:00Z indicates January 1, 2023, 00:00:00 UTC.
> In CloudMonitor, the TTL of monitoring data varies with the time granularity. Specify a proper time interval based on the TTL corresponding to the value of the `Period` parameter.
public static CursorRequest build(Map<String,?> map) throws Exception
Exceptionpublic CursorRequest setEndTime(String endTime)
public String getEndTime()
public CursorRequest setMatchers(List<Matcher> matchers)
public CursorRequest setMetric(String metric)
public String getMetric()
public CursorRequest setNamespace(String namespace)
public String getNamespace()
public CursorRequest setPeriod(Integer period)
public Integer getPeriod()
public CursorRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.