Interface Predicate

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Predicate.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:05.058Z") @Stability(Stable) public interface Predicate extends software.amazon.jsii.JsiiSerializable
Represents a trigger predicate.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 Condition condition;
 Predicate predicate = Predicate.builder()
         .conditions(List.of(condition))
         .logical(PredicateLogical.AND)
         .build();
 
  • Method Details

    • getConditions

      @Stability(Stable) @Nullable default List<Condition> getConditions()
      A list of the conditions that determine when the trigger will fire.

      Default: - no conditions are provided

    • getLogical

      @Stability(Stable) @Nullable default PredicateLogical getLogical()
      The logical operator to be applied to the conditions.

      Default: - PredicateLogical.AND if multiple conditions are provided, no logical operator if only one condition

    • builder

      @Stability(Stable) static Predicate.Builder builder()
      Returns:
      a Predicate.Builder of Predicate