Interface Datapoint.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Datapoint.Builder,Datapoint>
,SdkBuilder<Datapoint.Builder,Datapoint>
,SdkPojo
- Enclosing class:
- Datapoint
public static interface Datapoint.Builder extends SdkPojo, CopyableBuilder<Datapoint.Builder,Datapoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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(Instant 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
timestamp
Datapoint.Builder timestamp(Instant timestamp)
The time stamp used for the data point.
- Parameters:
timestamp
- The time stamp used for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleCount
Datapoint.Builder sampleCount(Double sampleCount)
The number of metric values that contributed to the aggregate value of this data point.
- Parameters:
sampleCount
- The number of metric values that contributed to the aggregate value of this data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
average
Datapoint.Builder average(Double average)
The average of the metric values that correspond to the data point.
- Parameters:
average
- The average of the metric values that correspond to the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sum
Datapoint.Builder sum(Double sum)
The sum of the metric values for the data point.
- Parameters:
sum
- The sum of the metric values for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimum
Datapoint.Builder minimum(Double minimum)
The minimum metric value for the data point.
- Parameters:
minimum
- The minimum metric value for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximum
Datapoint.Builder maximum(Double maximum)
The maximum metric value for the data point.
- Parameters:
maximum
- The maximum metric value for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Datapoint.Builder unit(String unit)
The standard unit for the data point.
- Parameters:
unit
- The standard unit for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandardUnit
,StandardUnit
-
unit
Datapoint.Builder unit(StandardUnit unit)
The standard unit for the data point.
- Parameters:
unit
- The standard unit for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandardUnit
,StandardUnit
-
extendedStatistics
Datapoint.Builder extendedStatistics(Map<String,Double> extendedStatistics)
The percentile statistic for the data point.
- Parameters:
extendedStatistics
- The percentile statistic for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-