Example usage for Java com.amazonaws.services.cloudwatch.model MetricDatum fields, constructors, methods, implement or subclass
The text is from its open source code.
MetricDatum | clone() |
java.util.List | getDimensions() The dimensions associated with the metric. |
String | getMetricName() The name of the metric. |
StatisticSet | getStatisticValues() The statistical values for the metric. |
java.util.Date | getTimestamp() The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. |
String | getUnit() When you are using a |
Double | getValue() The value for the metric. |
void | setDimensions(java.util.Collection The dimensions associated with the metric. |
void | setMetricName(String metricName) The name of the metric. |
void | setStatisticValues(StatisticSet statisticValues) The statistical values for the metric. |
void | setTimestamp(java.util.Date timestamp) The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. |
void | setUnit(String unit) When you are using a |
void | setUnit(StandardUnit unit) When you are using a |
void | setValue(Double value) The value for the metric. |
MetricDatum | withDimensions(Dimension... dimensions) The dimensions associated with the metric. |
MetricDatum | withDimensions(java.util.Collection The dimensions associated with the metric. |
MetricDatum | withMetricName(String metricName) The name of the metric. |
MetricDatum | withStatisticValues(StatisticSet statisticValues) The statistical values for the metric. |
MetricDatum | withTimestamp(java.util.Date timestamp) The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. |
MetricDatum | withUnit(String unit) When you are using a |
MetricDatum | withUnit(StandardUnit unit) When you are using a |
MetricDatum | withValue(Double value) The value for the metric. |