org.jclouds.cloudwatch.domain
Class StatisticValues.Builder

java.lang.Object
  extended by org.jclouds.cloudwatch.domain.StatisticValues.Builder
Enclosing class:
StatisticValues

public static class StatisticValues.Builder
extends Object


Constructor Summary
StatisticValues.Builder()
          Creates a new builder.
 
Method Summary
 StatisticValues build()
          Returns a newly-created StatisticSet based on the contents of the Builder.
 StatisticValues.Builder maximum(double maximum)
          The maximum value of the sample set.
 StatisticValues.Builder minimum(double minimum)
          The minimum value of the sample set.
 StatisticValues.Builder sampleCount(double sampleCount)
          The the number of samples used for the statistic set.
 StatisticValues.Builder sum(double sum)
          The sum of values for the sample set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticValues.Builder

public StatisticValues.Builder()
Creates a new builder. The returned builder is equivalent to the builder generated by StatisticValues.builder().

Method Detail

maximum

public StatisticValues.Builder maximum(double maximum)
The maximum value of the sample set.

Parameters:
maximum - the maximum value of the sample set
Returns:
this Builder object

minimum

public StatisticValues.Builder minimum(double minimum)
The minimum value of the sample set.

Parameters:
minimum - the minimum value of the sample set
Returns:
this Builder object

sampleCount

public StatisticValues.Builder sampleCount(double sampleCount)
The the number of samples used for the statistic set.

Parameters:
sampleCount - the number of samples used for the statistic set
Returns:
this Builder object

sum

public StatisticValues.Builder sum(double sum)
The sum of values for the sample set.

Parameters:
sum - the sum of values for the sample set
Returns:
this Builder object

build

public StatisticValues build()
Returns a newly-created StatisticSet based on the contents of the Builder.



Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.