Class OnDemandTriggerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.OnDemandTriggerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OnDemandTriggerOptions>
- Enclosing interface:
OnDemandTriggerOptions
@Stability(Experimental)
public static final class OnDemandTriggerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<OnDemandTriggerOptions>
A builder for
OnDemandTriggerOptions-
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()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Experimental) public OnDemandTriggerOptions.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<OnDemandTriggerOptions>- Returns:
- a new instance of
OnDemandTriggerOptions - Throws:
NullPointerException- if any required attribute was not provided
-