Package org.jclouds.cloudwatch.domain
Class GetMetricStatistics
java.lang.Object
org.jclouds.cloudwatch.domain.GetMetricStatistics
Options use to get statistics for the specified metric.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetMetricStatistics
(Set<Dimension> dimensions, Date endTime, String metricName, String namespace, int period, Date startTime, Set<Statistics> statistics, Unit unit) Private constructor to enforce usingGetMetricStatistics.Builder
. -
Method Summary
Modifier and TypeMethodDescriptionstatic GetMetricStatistics.Builder
builder()
Returns a new builder.return the set of dimensions for this requestcom.google.common.base.Optional
<Date> return the end time for this requestreturn the metric name for this requestreturn the namespace for this requestint
return the period for this requestcom.google.common.base.Optional
<Date> return the start time for this requestreturn the statistics for this requestcom.google.common.base.Optional
<Unit> getUnit()
return the unit for this request
-
Constructor Details
-
GetMetricStatistics
protected GetMetricStatistics(Set<Dimension> dimensions, Date endTime, String metricName, String namespace, int period, Date startTime, Set<Statistics> statistics, Unit unit) Private constructor to enforce usingGetMetricStatistics.Builder
.
-
-
Method Details
-
getDimensions
return the set of dimensions for this request -
getEndTime
return the end time for this request -
getMetricName
return the metric name for this request -
getNamespace
return the namespace for this request -
getPeriod
public int getPeriod()return the period for this request -
getStartTime
return the start time for this request -
getStatistics
return the statistics for this request -
getUnit
return the unit for this request -
builder
Returns a new builder. The generated builder is equivalent to the builder created by theGetMetricStatistics.Builder
constructor.
-