Package | Description |
---|---|
org.jclouds.cloudwatch.domain | |
org.jclouds.cloudwatch.options |
Modifier and Type | Method and Description |
---|---|
static Unit |
Unit.fromValue(String value) |
Unit |
MetricDatum.getUnit()
return Standard unit used for the metric.
|
Unit |
Datapoint.getUnit()
return Standard unit used for the datapoint.
|
static Unit |
Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Unit> |
GetMetricStatistics.getUnit()
return the unit for this request
|
com.google.common.base.Optional<Unit> |
Alarm.getUnit()
return the unit of the alarm's associated metric
|
Modifier and Type | Method and Description |
---|---|
MetricDatum.Builder |
MetricDatum.Builder.unit(Unit unit)
The unit for the metric.
|
GetMetricStatistics.Builder |
GetMetricStatistics.Builder.unit(Unit unit)
The unit for the metric.
|
Constructor and Description |
---|
Datapoint(Double average,
Double maximum,
Double minimum,
Date timestamp,
Double samples,
Double sum,
Unit unit,
String customUnit) |
GetMetricStatistics(Set<Dimension> dimensions,
Date endTime,
String metricName,
String namespace,
int period,
Date startTime,
Set<Statistics> statistics,
Unit unit)
Private constructor to enforce using
GetMetricStatistics.Builder . |
MetricDatum(Iterable<Dimension> dimensions,
String metricName,
com.google.common.base.Optional<StatisticValues> statisticValues,
com.google.common.base.Optional<Date> timestamp,
Unit unit,
com.google.common.base.Optional<Double> value)
Private constructor to enforce using
MetricDatum.Builder . |
Constructor and Description |
---|
Alarm(boolean areActionsEnabled,
Set<String> alarmActions,
String alarmARN,
Date alarmConfigurationUpdatedTimestamp,
String alarmDescription,
String alarmName,
ComparisonOperator comparisonOperator,
Set<Dimension> dimensions,
int evaluationPeriods,
Set<String> insufficientDataActions,
String metricName,
String namespace,
Set<String> okActions,
int period,
String stateReason,
com.google.common.base.Optional<String> stateReasonData,
Date stateUpdatedTimestamp,
Alarm.State state,
Statistics statistic,
double threshold,
com.google.common.base.Optional<Unit> unit) |
Modifier and Type | Method and Description |
---|---|
SaveAlarmOptions |
SaveAlarmOptions.unit(Unit unit)
The unit for the alarm's associated metric.
|
ListAlarmsForMetric |
ListAlarmsForMetric.unit(Unit unit)
The unit for the metric.
|
GetMetricStatisticsOptions |
GetMetricStatisticsOptions.unit(Unit unit) |
static GetMetricStatisticsOptions |
GetMetricStatisticsOptions.Builder.unit(Unit unit) |
Copyright © 2009-2013 jclouds. All Rights Reserved.