Class ConditionalTriggerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.ConditionalTriggerOptions.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<ConditionalTriggerOptions>
- Enclosing interface:
- ConditionalTriggerOptions
@Stability(Experimental)
public static final class ConditionalTriggerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ConditionalTriggerOptions>
A builder for 
ConditionalTriggerOptions- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofTriggerOptions.getActions()build()Builds the configured instance.description(String description) Sets the value ofTriggerOptions.getDescription()Sets the value ofTriggerOptions.getName()Sets the value ofConditionalTriggerOptions.getPredicate()startOnCreation(Boolean startOnCreation) Sets the value ofDailyScheduleTriggerOptions.getStartOnCreation()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
predicateSets the value ofConditionalTriggerOptions.getPredicate()- Parameters:
- predicate- The predicate for the trigger. This parameter is required.
- Returns:
- this
 
- 
startOnCreation@Stability(Experimental) public ConditionalTriggerOptions.Builder startOnCreation(Boolean startOnCreation) Sets the value ofDailyScheduleTriggerOptions.getStartOnCreation()- Parameters:
- startOnCreation- Whether to start the trigger on creation or not.
- Returns:
- this
 
- 
actions@Stability(Experimental) public ConditionalTriggerOptions.Builder actions(List<? extends Action> actions) Sets the value ofTriggerOptions.getActions()- Parameters:
- actions- The actions initiated by this trigger. This parameter is required.
- Returns:
- this
 
- 
descriptionSets the value ofTriggerOptions.getDescription()- Parameters:
- description- A description for the trigger.
- Returns:
- this
 
- 
nameSets the value ofTriggerOptions.getName()- Parameters:
- name- A name for the trigger.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<ConditionalTriggerOptions>
- Returns:
- a new instance of ConditionalTriggerOptions
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-