Interface TimeSeriesDataPoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimeSeriesDataPoint.Builder,
,TimeSeriesDataPoint> SdkBuilder<TimeSeriesDataPoint.Builder,
,TimeSeriesDataPoint> SdkPojo
- Enclosing class:
TimeSeriesDataPoint
public static interface TimeSeriesDataPoint.Builder
extends SdkPojo, CopyableBuilder<TimeSeriesDataPoint.Builder,TimeSeriesDataPoint>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the measure value was collected.default TimeSeriesDataPoint.Builder
value
(Consumer<Datum.Builder> value) The measure value for the data point.The measure value 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 Details
-
time
The timestamp when the measure value was collected.
- Parameters:
time
- The timestamp when the measure value was collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The measure value for the data point.
- Parameters:
value
- The measure value for the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The measure value for the data point.
This is a convenience method that creates an instance of theDatum.Builder
avoiding the need to create one manually viaDatum.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(Datum)
.- Parameters:
value
- a consumer that will call methods onDatum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-