Class StartableTriggerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.StartableTriggerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StartableTriggerOptions>
- Enclosing interface:
StartableTriggerOptions
@Stability(Experimental)
public static final class StartableTriggerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<StartableTriggerOptions>
A builder for
StartableTriggerOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofTriggerOptions.getActions()build()Builds the configured instance.description(String description) Sets the value ofTriggerOptions.getDescription()Sets the value ofTriggerOptions.getName()startOnCreation(Boolean startOnCreation) Sets the value ofStartableTriggerOptions.getStartOnCreation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
startOnCreation
@Stability(Experimental) public StartableTriggerOptions.Builder startOnCreation(Boolean startOnCreation) Sets the value ofStartableTriggerOptions.getStartOnCreation()- Parameters:
startOnCreation- Whether to start the trigger on creation or not.- Returns:
this
-
actions
@Stability(Experimental) public StartableTriggerOptions.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
-
description
Sets the value ofTriggerOptions.getDescription()- Parameters:
description- A description for the trigger.- Returns:
this
-
name
Sets the value ofTriggerOptions.getName()- Parameters:
name- A name for the trigger.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StartableTriggerOptions>- Returns:
- a new instance of
StartableTriggerOptions - Throws:
NullPointerException- if any required attribute was not provided
-