| Package | Description |
|---|---|
| com.amazonaws.services.cloudwatch.model |
| Modifier and Type | Method and Description |
|---|---|
static StandardUnit |
StandardUnit.fromValue(String value)
Use this in place of valueOf.
|
static StandardUnit |
StandardUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardUnit[] |
StandardUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricDatum.setUnit(StandardUnit unit)
When you are using a
Put operation, this defines what unit you want to use when storing the metric. |
void |
DescribeAlarmsForMetricRequest.setUnit(StandardUnit unit)
The unit for the metric.
|
void |
Datapoint.setUnit(StandardUnit unit)
The standard unit for the data point.
|
void |
GetMetricStatisticsRequest.setUnit(StandardUnit unit)
The unit for a given metric.
|
void |
PutMetricAlarmRequest.setUnit(StandardUnit unit)
The unit of measure for the statistic.
|
void |
MetricAlarm.setUnit(StandardUnit unit)
The unit of the metric associated with the alarm.
|
MetricDatum |
MetricDatum.withUnit(StandardUnit unit)
When you are using a
Put operation, this defines what unit you want to use when storing the metric. |
MetricStat |
MetricStat.withUnit(StandardUnit unit)
When you are using a
Put operation, this defines what unit you want to use when storing the metric. |
DescribeAlarmsForMetricRequest |
DescribeAlarmsForMetricRequest.withUnit(StandardUnit unit)
The unit for the metric.
|
Datapoint |
Datapoint.withUnit(StandardUnit unit)
The standard unit for the data point.
|
GetMetricStatisticsRequest |
GetMetricStatisticsRequest.withUnit(StandardUnit unit)
The unit for a given metric.
|
PutMetricAlarmRequest |
PutMetricAlarmRequest.withUnit(StandardUnit unit)
The unit of measure for the statistic.
|
MetricAlarm |
MetricAlarm.withUnit(StandardUnit unit)
The unit of the metric associated with the alarm.
|
Copyright © 2021. All rights reserved.