Interface Predicate.Builder

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

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

    • logical

      Predicate.Builder logical(String logical)

      An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

      Parameters:
      logical - An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logical

      Predicate.Builder logical(Logical logical)

      An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

      Parameters:
      logical - An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditions

      Predicate.Builder conditions(Collection<Condition> conditions)

      A list of the conditions that determine when the trigger will fire.

      Parameters:
      conditions - A list of the conditions that determine when the trigger will fire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      Predicate.Builder conditions(Condition... conditions)

      A list of the conditions that determine when the trigger will fire.

      Parameters:
      conditions - A list of the conditions that determine when the trigger will fire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      Predicate.Builder conditions(Consumer<Condition.Builder>... conditions)

      A list of the conditions that determine when the trigger will fire.

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

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

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