Class EventTriggerOptions.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.EventTriggerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventTriggerOptions>
- Enclosing interface:
EventTriggerOptions
@Stability(Experimental)
public static final class EventTriggerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EventTriggerOptions>
A builder for
EventTriggerOptions-
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()eventBatchingCondition(EventBatchingCondition eventBatchingCondition) Sets the value ofEventTriggerOptions.getEventBatchingCondition()Sets the value ofTriggerOptions.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBatchingCondition
@Stability(Experimental) public EventTriggerOptions.Builder eventBatchingCondition(EventBatchingCondition eventBatchingCondition) Sets the value ofEventTriggerOptions.getEventBatchingCondition()- Parameters:
eventBatchingCondition- Batch condition for the trigger.- Returns:
this
-
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<EventTriggerOptions>- Returns:
- a new instance of
EventTriggerOptions - Throws:
NullPointerException- if any required attribute was not provided
-