Package org.jclouds.cloudwatch.domain
Class MetricDatum
java.lang.Object
org.jclouds.cloudwatch.domain.MetricDatum
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMetricDatum(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 usingMetricDatum.Builder. - 
Method Summary
Modifier and TypeMethodDescriptionstatic MetricDatum.Builderbuilder()Returns a new builder.booleanreturn the list of dimensions describing the the metric.return the metric name for the metric.com.google.common.base.Optional<StatisticValues> return the object describing the set of statistical values for the metriccom.google.common.base.Optional<Date> return the time stamp used for the metricgetUnit()return Standard unit used for the metric.com.google.common.base.Optional<Double> getValue()return the actual value of the metricinthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString() 
- 
Constructor Details
- 
MetricDatum
protected 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 usingMetricDatum.Builder. 
 - 
 - 
Method Details
- 
getDimensions
return the list of dimensions describing the the metric. - 
getMetricName
return the metric name for the metric. - 
getStatisticValues
return the object describing the set of statistical values for the metric - 
getTimestamp
return the time stamp used for the metric - 
getUnit
return Standard unit used for the metric. - 
getValue
return the actual value of the metric - 
builder
Returns a new builder. The generated builder is equivalent to the builder created by theMetricDatum.Builderconstructor. - 
equals
 - 
hashCode
public int hashCode() - 
toString
 - 
string
protected com.google.common.base.MoreObjects.ToStringHelper string() 
 -