|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.cloudwatch.domain.MetricDatum
public class MetricDatum
| Nested Class Summary | |
|---|---|
static class |
MetricDatum.Builder
|
| Constructor Summary | |
|---|---|
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 using MetricDatum.Builder. |
| Method Summary | |
|---|---|
static MetricDatum.Builder |
builder()
Returns a new builder. |
boolean |
equals(Object o)
|
Set<Dimension> |
getDimensions()
return the list of dimensions describing the the metric. |
String |
getMetricName()
return the metric name for the metric. |
com.google.common.base.Optional<StatisticValues> |
getStatisticValues()
return the object describing the set of statistical values for the metric |
com.google.common.base.Optional<Date> |
getTimestamp()
return the time stamp used for the metric |
Unit |
getUnit()
return Standard unit used for the metric. |
com.google.common.base.Optional<Double> |
getValue()
return the actual value of the metric |
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
MetricDatum.Builder.
| Method Detail |
|---|
public Set<Dimension> getDimensions()
public String getMetricName()
public com.google.common.base.Optional<StatisticValues> getStatisticValues()
public com.google.common.base.Optional<Date> getTimestamp()
public Unit getUnit()
public com.google.common.base.Optional<Double> getValue()
public static MetricDatum.Builder builder()
MetricDatum.Builder constructor.
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||