Class CfnTriggerPropsMixin.PredicateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTriggerPropsMixin.PredicateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTriggerPropsMixin.PredicateProperty>
- Enclosing interface:
CfnTriggerPropsMixin.PredicateProperty
@Stability(Stable)
public static final class CfnTriggerPropsMixin.PredicateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTriggerPropsMixin.PredicateProperty>
A builder for
CfnTriggerPropsMixin.PredicateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getConditions()conditions(IResolvable conditions) Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getConditions()Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getLogical()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
@Stability(Stable) public CfnTriggerPropsMixin.PredicateProperty.Builder conditions(IResolvable conditions) Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getConditions()- Parameters:
conditions- A list of the conditions that determine when the trigger will fire.- Returns:
this
-
conditions
@Stability(Stable) public CfnTriggerPropsMixin.PredicateProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getConditions()- Parameters:
conditions- A list of the conditions that determine when the trigger will fire.- Returns:
this
-
logical
Sets the value ofCfnTriggerPropsMixin.PredicateProperty.getLogical()- Parameters:
logical- An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTriggerPropsMixin.PredicateProperty>- Returns:
- a new instance of
CfnTriggerPropsMixin.PredicateProperty - Throws:
NullPointerException- if any required attribute was not provided
-