|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.cloudwatch.domain.GetMetricStatistics.Builder
public static class GetMetricStatistics.Builder
| Constructor Summary | |
|---|---|
GetMetricStatistics.Builder()
Creates a new builder. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetMetricStatistics.Builder()
ListMetricsOptions#builder.
| Method Detail |
|---|
public GetMetricStatistics.Builder dimensions(Set<Dimension> dimensions)
dimensions - the dimensions describing the qualities of the metric
Builder objectpublic GetMetricStatistics.Builder dimension(Dimension dimension)
dimension - the dimension describing the qualities of the metric
Builder objectpublic GetMetricStatistics.Builder endTime(Date endTime)
endTime - the timestamp to use for determining the last datapoint to return
Builder objectpublic GetMetricStatistics.Builder metricName(String metricName)
metricName - the metric name to filter against
Builder objectpublic GetMetricStatistics.Builder namespace(String namespace)
namespace - the namespace to filter against
Builder objectpublic GetMetricStatistics.Builder period(int period)
period - the granularity, in seconds, of the returned datapoints
Builder objectpublic GetMetricStatistics.Builder startTime(Date startTime)
startTime - The time stamp to use for determining the first datapoint to return
Builder 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 return
Builder objectpublic GetMetricStatistics.Builder unit(Unit unit)
unit - the unit for the metric
Builder objectpublic GetMetricStatistics build()
GetMetricStatisticsOptionsV2 based on the contents of
the Builder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||