Package org.jclouds.cloudwatch.domain
Class StatisticValues.Builder
java.lang.Object
org.jclouds.cloudwatch.domain.StatisticValues.Builder
- Enclosing class:
StatisticValues
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly-createdStatisticSet
based on the contents of theBuilder
.maximum
(double maximum) The maximum value of the sample set.minimum
(double minimum) The minimum value of the sample set.sampleCount
(double sampleCount) The the number of samples used for the statistic set.sum
(double sum) The sum of values for the sample set.
-
Constructor Details
-
Builder
public Builder()Creates a new builder. The returned builder is equivalent to the builder generated byStatisticValues.builder()
.
-
-
Method Details
-
maximum
The maximum value of the sample set.- Parameters:
maximum
- the maximum value of the sample set- Returns:
- this
Builder
object
-
minimum
The minimum value of the sample set.- Parameters:
minimum
- the minimum value of the sample set- Returns:
- this
Builder
object
-
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
The sum of values for the sample set.- Parameters:
sum
- the sum of values for the sample set- Returns:
- this
Builder
object
-
build
Returns a newly-createdStatisticSet
based on the contents of theBuilder
.
-