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.Buildervalue(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDatum.builder().When the
Consumercompletes,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:
-