Package org.jclouds.cloudwatch.domain
Class StatisticValues.Builder
- java.lang.Object
-
- org.jclouds.cloudwatch.domain.StatisticValues.Builder
-
- Enclosing class:
- StatisticValues
public static class StatisticValues.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Creates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticValuesbuild()Returns a newly-createdStatisticSetbased on the contents of theBuilder.StatisticValues.Buildermaximum(double maximum)The maximum value of the sample set.StatisticValues.Builderminimum(double minimum)The minimum value of the sample set.StatisticValues.BuildersampleCount(double sampleCount)The the number of samples used for the statistic set.StatisticValues.Buildersum(double sum)The sum of values for the sample set.
-
-
-
Constructor Detail
-
Builder
public Builder()
Creates a new builder. The returned builder is equivalent to the builder generated byStatisticValues.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
Builderobject
-
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
Builderobject
-
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
Builderobject
-
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
Builderobject
-
build
public StatisticValues build()
Returns a newly-createdStatisticSetbased on the contents of theBuilder.
-
-