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 StatisticValues
build()
Returns a newly-createdStatisticSet
based on the contents of theBuilder
.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.
-
-
-
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
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-createdStatisticSet
based on the contents of theBuilder
.
-
-