Interface CompoundCondition.Builder

  • Method Details

    • conditions

      The list of conditions to combine using the logical operator.

      For API users: A case rule can have a maximum of 5 conditions, spread across a maximum of 2 levels of nesting.

      Parameters:
      conditions - The list of conditions to combine using the logical operator.

      For API users: A case rule can have a maximum of 5 conditions, spread across a maximum of 2 levels of nesting.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      CompoundCondition.Builder conditions(BooleanCondition... conditions)

      The list of conditions to combine using the logical operator.

      For API users: A case rule can have a maximum of 5 conditions, spread across a maximum of 2 levels of nesting.

      Parameters:
      conditions - The list of conditions to combine using the logical operator.

      For API users: A case rule can have a maximum of 5 conditions, spread across a maximum of 2 levels of nesting.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The list of conditions to combine using the logical operator.

      For API users: A case rule can have a maximum of 5 conditions, spread across a maximum of 2 levels of nesting.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<BooleanCondition>).

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