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 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 the Datum.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).

      Parameters:
      value - a consumer that will call methods on Datum.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: