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:30.093Z") @Stability(Deprecated) @Deprecated public interface Predicate extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) 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.alpha.*;
 Condition condition;
 Predicate predicate = Predicate.builder()
         .conditions(List.of(condition))
         .logical(PredicateLogical.AND)
         .build();
 
  • Method Details

    • getConditions

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

      Default: - no conditions are provided

    • getLogical

      @Stability(Deprecated) @Deprecated @Nullable default PredicateLogical getLogical()
      Deprecated.
      (deprecated) 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(Deprecated) @Deprecated static Predicate.Builder builder()
      Deprecated.
      Returns:
      a Predicate.Builder of Predicate