Class CfnTrigger.PredicateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTrigger.PredicateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrigger.PredicateProperty>
- Enclosing interface:
CfnTrigger.PredicateProperty
@Stability(Stable)
public static final class CfnTrigger.PredicateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrigger.PredicateProperty>
A builder for
CfnTrigger.PredicateProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.conditions
(List<? extends Object> conditions) Sets the value ofCfnTrigger.PredicateProperty.getConditions()
conditions
(IResolvable conditions) Sets the value ofCfnTrigger.PredicateProperty.getConditions()
Sets the value ofCfnTrigger.PredicateProperty.getLogical()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
Sets the value ofCfnTrigger.PredicateProperty.getConditions()
- Parameters:
conditions
- A list of the conditions that determine when the trigger will fire.- Returns:
this
-
conditions
@Stability(Stable) public CfnTrigger.PredicateProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnTrigger.PredicateProperty.getConditions()
- Parameters:
conditions
- A list of the conditions that determine when the trigger will fire.- Returns:
this
-
logical
Sets the value ofCfnTrigger.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrigger.PredicateProperty>
- Returns:
- a new instance of
CfnTrigger.PredicateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-