Interface AggregatedValue.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AggregatedValue.Builder,AggregatedValue>, SdkBuilder<AggregatedValue.Builder,AggregatedValue>, SdkPojo
Enclosing class:
AggregatedValue

public static interface AggregatedValue.Builder extends SdkPojo, CopyableBuilder<AggregatedValue.Builder,AggregatedValue>
  • Method Details

    • timestamp

      AggregatedValue.Builder timestamp(Instant timestamp)

      The date the aggregating computations occurred, in Unix epoch time.

      Parameters:
      timestamp - The date the aggregating computations occurred, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quality

      AggregatedValue.Builder quality(String quality)

      The quality of the aggregated data.

      Parameters:
      quality - The quality of the aggregated data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quality

      AggregatedValue.Builder quality(Quality quality)

      The quality of the aggregated data.

      Parameters:
      quality - The quality of the aggregated data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The value of the aggregates.

      Parameters:
      value - The value of the aggregates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value of the aggregates.

      This is a convenience method that creates an instance of the Aggregates.Builder avoiding the need to create one manually via Aggregates.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to value(Aggregates).

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