public static interface TimeSeriesDataPoint.Builder extends SdkPojo, CopyableBuilder<TimeSeriesDataPoint.Builder,TimeSeriesDataPoint>
Modifier and Type | Method and Description |
---|---|
TimeSeriesDataPoint.Builder |
time(String time)
The timestamp when the measure value was collected.
|
default TimeSeriesDataPoint.Builder |
value(Consumer<Datum.Builder> value)
The measure value for the data point.
|
TimeSeriesDataPoint.Builder |
value(Datum value)
The measure value for the data point.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TimeSeriesDataPoint.Builder time(String time)
The timestamp when the measure value was collected.
time
- The timestamp when the measure value was collected.TimeSeriesDataPoint.Builder value(Datum value)
The measure value for the data point.
value
- The measure value for the data point.default TimeSeriesDataPoint.Builder value(Consumer<Datum.Builder> value)
The measure value for the data point.
This is a convenience that creates an instance of theDatum.Builder
avoiding the need to create one
manually via Datum.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to value(Datum)
.value
- a consumer that will call methods on Datum.Builder
value(Datum)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.