public class CursorShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
endTime
The end of the time range to query.
|
String |
matchersShrink
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.
|
| 构造器和说明 |
|---|
CursorShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CursorShrinkRequest |
build(Map<String,?> map) |
String |
getEndTime() |
String |
getMatchersShrink() |
String |
getMetric() |
String |
getNamespace() |
Integer |
getPeriod() |
String |
getStartTime() |
CursorShrinkRequest |
setEndTime(String endTime) |
CursorShrinkRequest |
setMatchersShrink(String matchersShrink) |
CursorShrinkRequest |
setMetric(String metric) |
CursorShrinkRequest |
setNamespace(String namespace) |
CursorShrinkRequest |
setPeriod(Integer period) |
CursorShrinkRequest |
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 String matchersShrink
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 CursorShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic CursorShrinkRequest setEndTime(String endTime)
public String getEndTime()
public CursorShrinkRequest setMatchersShrink(String matchersShrink)
public String getMatchersShrink()
public CursorShrinkRequest setMetric(String metric)
public String getMetric()
public CursorShrinkRequest setNamespace(String namespace)
public String getNamespace()
public CursorShrinkRequest setPeriod(Integer period)
public Integer getPeriod()
public CursorShrinkRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.