public static class GetMetricStatistics.Builder extends Object
| Constructor and Description | 
|---|
GetMetricStatistics.Builder()
Creates a new builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
GetMetricStatistics | 
build()
Returns a newly-created  
GetMetricStatisticsOptionsV2 based on the contents of
 the Builder. | 
GetMetricStatistics.Builder | 
dimension(Dimension dimension)
A dimension describing qualities of the metric. 
 | 
GetMetricStatistics.Builder | 
dimensions(Set<Dimension> dimensions)
A list of dimensions describing qualities of the metric. 
 | 
GetMetricStatistics.Builder | 
endTime(Date endTime)
The time stamp to use for determining the last datapoint to return. 
 | 
GetMetricStatistics.Builder | 
metricName(String metricName)
The name of the metric. 
 | 
GetMetricStatistics.Builder | 
namespace(String namespace)
The namespace of the metric. 
 | 
GetMetricStatistics.Builder | 
period(int period)
The granularity, in seconds, of the returned datapoints. 
 | 
GetMetricStatistics.Builder | 
startTime(Date startTime)
The time stamp to use for determining the first datapoint to return. 
 | 
GetMetricStatistics.Builder | 
statistic(Statistics statistic)
The metric statistic to return. 
 | 
GetMetricStatistics.Builder | 
statistics(Set<Statistics> statistics)
The metric statistics to return. 
 | 
GetMetricStatistics.Builder | 
unit(Unit unit)
The unit for the metric. 
 | 
public GetMetricStatistics.Builder()
ListMetricsOptions#builder.public GetMetricStatistics.Builder dimensions(Set<Dimension> dimensions)
dimensions - the dimensions describing the qualities of the metricBuilder objectpublic GetMetricStatistics.Builder dimension(Dimension dimension)
dimension - the dimension describing the qualities of the metricBuilder objectpublic GetMetricStatistics.Builder endTime(Date endTime)
endTime - the timestamp to use for determining the last datapoint to returnBuilder objectpublic GetMetricStatistics.Builder metricName(String metricName)
metricName - the metric name to filter againstBuilder objectpublic GetMetricStatistics.Builder namespace(String namespace)
namespace - the namespace to filter againstBuilder objectpublic GetMetricStatistics.Builder period(int period)
period - the granularity, in seconds, of the returned datapointsBuilder objectpublic GetMetricStatistics.Builder startTime(Date startTime)
startTime - The time stamp to use for determining the first datapoint to returnBuilder objectpublic GetMetricStatistics.Builder statistics(Set<Statistics> statistics)
statistics - the metric statistics to return.Builder objectpublic GetMetricStatistics.Builder statistic(Statistics statistic)
statistic - the metric statistic to returnBuilder objectpublic GetMetricStatistics.Builder unit(Unit unit)
unit - the unit for the metricBuilder objectpublic GetMetricStatistics build()
GetMetricStatisticsOptionsV2 based on the contents of
 the Builder.Copyright © 2009-2013 jclouds. All Rights Reserved.