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, sdkFieldscopyapplyMutation, buildTimeSeriesDataPoint.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 method 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.Buildervalue(Datum)Copyright © 2023. All rights reserved.