Interface Conditions.Builder

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

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

    • range

      Conditions.Builder range(Range range)

      The relative time period over which data is included in the aggregation.

      Parameters:
      range - The relative time period over which data is included in the aggregation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • range

      default Conditions.Builder range(Consumer<Range.Builder> range)

      The relative time period over which data is included in the aggregation.

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

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

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

      Conditions.Builder objectCount(Integer objectCount)

      The number of profile objects used for the calculated attribute.

      Parameters:
      objectCount - The number of profile objects used for the calculated attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threshold

      Conditions.Builder threshold(Threshold threshold)

      The threshold for the calculated attribute.

      Parameters:
      threshold - The threshold for the calculated attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threshold

      default Conditions.Builder threshold(Consumer<Threshold.Builder> threshold)

      The threshold for the calculated attribute.

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

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

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