| Package | Description |
|---|---|
| com.amazonaws.services.cloudwatch.model |
| Modifier and Type | Method and Description |
|---|---|
MetricDataQuery |
MetricDataQuery.clone() |
MetricDataQuery |
MetricDataQuery.withAccountId(String accountId)
The ID of the account where the metrics are located.
|
MetricDataQuery |
MetricDataQuery.withExpression(String expression)
This field can contain either a Metrics Insights query, or a metric math expression to be performed on the
returned data.
|
MetricDataQuery |
MetricDataQuery.withId(String id)
A short name used to tie this object to the results in the response.
|
MetricDataQuery |
MetricDataQuery.withLabel(String label)
A human-readable label for this metric or expression.
|
MetricDataQuery |
MetricDataQuery.withMetricStat(MetricStat metricStat)
The metric to be returned, along with statistics, period, and units.
|
MetricDataQuery |
MetricDataQuery.withPeriod(Integer period)
The granularity, in seconds, of the returned data points.
|
MetricDataQuery |
MetricDataQuery.withReturnData(Boolean returnData)
When used in
GetMetricData, this option indicates whether to return the timestamps and raw data
values of this metric. |
| Modifier and Type | Method and Description |
|---|---|
List<MetricDataQuery> |
GetMetricDataRequest.getMetricDataQueries()
The metric queries to be returned.
|
List<MetricDataQuery> |
MetricMathAnomalyDetector.getMetricDataQueries()
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
List<MetricDataQuery> |
MetricAlarm.getMetrics()
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
List<MetricDataQuery> |
PutMetricAlarmRequest.getMetrics()
An array of
MetricDataQuery structures that enable you to create an alarm based on the result of a
metric math expression. |
| Modifier and Type | Method and Description |
|---|---|
GetMetricDataRequest |
GetMetricDataRequest.withMetricDataQueries(MetricDataQuery... metricDataQueries)
The metric queries to be returned.
|
MetricMathAnomalyDetector |
MetricMathAnomalyDetector.withMetricDataQueries(MetricDataQuery... metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
MetricAlarm |
MetricAlarm.withMetrics(MetricDataQuery... metrics)
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
PutMetricAlarmRequest |
PutMetricAlarmRequest.withMetrics(MetricDataQuery... metrics)
An array of
MetricDataQuery structures that enable you to create an alarm based on the result of a
metric math expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
GetMetricDataRequest.setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
The metric queries to be returned.
|
void |
MetricMathAnomalyDetector.setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
void |
MetricAlarm.setMetrics(Collection<MetricDataQuery> metrics)
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
void |
PutMetricAlarmRequest.setMetrics(Collection<MetricDataQuery> metrics)
An array of
MetricDataQuery structures that enable you to create an alarm based on the result of a
metric math expression. |
GetMetricDataRequest |
GetMetricDataRequest.withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
The metric queries to be returned.
|
MetricMathAnomalyDetector |
MetricMathAnomalyDetector.withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
MetricAlarm |
MetricAlarm.withMetrics(Collection<MetricDataQuery> metrics)
An array of MetricDataQuery structures, used in an alarm based on a metric math expression.
|
PutMetricAlarmRequest |
PutMetricAlarmRequest.withMetrics(Collection<MetricDataQuery> metrics)
An array of
MetricDataQuery structures that enable you to create an alarm based on the result of a
metric math expression. |
Copyright © 2024. All rights reserved.