CopyableBuilder<Datapoint.Builder,Datapoint>
, SdkBuilder<Datapoint.Builder,Datapoint>
public static interface Datapoint.Builder extends CopyableBuilder<Datapoint.Builder,Datapoint>
Modifier and Type | Method | Description |
---|---|---|
Datapoint.Builder |
average(Double average) |
The average of the metric values that correspond to the data point.
|
Datapoint.Builder |
extendedStatistics(Map<String,Double> extendedStatistics) |
The percentile statistic for the data point.
|
Datapoint.Builder |
maximum(Double maximum) |
The maximum metric value for the data point.
|
Datapoint.Builder |
minimum(Double minimum) |
The minimum metric value for the data point.
|
Datapoint.Builder |
sampleCount(Double sampleCount) |
The number of metric values that contributed to the aggregate value of this data point.
|
Datapoint.Builder |
sum(Double sum) |
The sum of the metric values for the data point.
|
Datapoint.Builder |
timestamp(Date timestamp) |
The time stamp used for the data point.
|
Datapoint.Builder |
unit(String unit) |
The standard unit for the data point.
|
Datapoint.Builder |
unit(StandardUnit unit) |
The standard unit for the data point.
|
copy
apply, build
Datapoint.Builder timestamp(Date timestamp)
The time stamp used for the data point.
timestamp
- The time stamp used for the data point.Datapoint.Builder sampleCount(Double sampleCount)
The number of metric values that contributed to the aggregate value of this data point.
sampleCount
- The number of metric values that contributed to the aggregate value of this data point.Datapoint.Builder average(Double average)
The average of the metric values that correspond to the data point.
average
- The average of the metric values that correspond to the data point.Datapoint.Builder sum(Double sum)
The sum of the metric values for the data point.
sum
- The sum of the metric values for the data point.Datapoint.Builder minimum(Double minimum)
The minimum metric value for the data point.
minimum
- The minimum metric value for the data point.Datapoint.Builder maximum(Double maximum)
The maximum metric value for the data point.
maximum
- The maximum metric value for the data point.Datapoint.Builder unit(String unit)
The standard unit for the data point.
unit
- The standard unit for the data point.StandardUnit
Datapoint.Builder unit(StandardUnit unit)
The standard unit for the data point.
unit
- The standard unit for the data point.StandardUnit
Datapoint.Builder extendedStatistics(Map<String,Double> extendedStatistics)
The percentile statistic for the data point.
extendedStatistics
- The percentile statistic for the data point.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.