Class EventbridgeToStepfunctionsProps.Builder
java.lang.Object
software.amazon.awsconstructs.services.eventbridgestepfunctions.EventbridgeToStepfunctionsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventbridgeToStepfunctionsProps>
- Enclosing interface:
EventbridgeToStepfunctionsProps
public static final class EventbridgeToStepfunctionsProps.Builder
extends Object
implements software.amazon.jsii.Builder<EventbridgeToStepfunctionsProps>
A builder for
EventbridgeToStepfunctionsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createCloudWatchAlarms(Boolean createCloudWatchAlarms) Sets the value ofEventbridgeToStepfunctionsProps.getCreateCloudWatchAlarms()eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps) Sets the value ofEventbridgeToStepfunctionsProps.getEventBusProps()eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps) Sets the value ofEventbridgeToStepfunctionsProps.getEventRuleProps()existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface) Sets the value ofEventbridgeToStepfunctionsProps.getExistingEventBusInterface()logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps) Sets the value ofEventbridgeToStepfunctionsProps.getLogGroupProps()stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps) Sets the value ofEventbridgeToStepfunctionsProps.getStateMachineProps()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventRuleProps
public EventbridgeToStepfunctionsProps.Builder eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps) Sets the value ofEventbridgeToStepfunctionsProps.getEventRuleProps()- Parameters:
eventRuleProps- User provided eventRuleProps to override the defaults. This parameter is required.- Returns:
this
-
stateMachineProps
public EventbridgeToStepfunctionsProps.Builder stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps) Sets the value ofEventbridgeToStepfunctionsProps.getStateMachineProps()- Parameters:
stateMachineProps- User provided StateMachineProps to override the defaults. This parameter is required.- Returns:
this
-
createCloudWatchAlarms
public EventbridgeToStepfunctionsProps.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms) Sets the value ofEventbridgeToStepfunctionsProps.getCreateCloudWatchAlarms()- Parameters:
createCloudWatchAlarms- Whether to create recommended CloudWatch alarms.- Returns:
this
-
eventBusProps
public EventbridgeToStepfunctionsProps.Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps) Sets the value ofEventbridgeToStepfunctionsProps.getEventBusProps()- Parameters:
eventBusProps- A new custom EventBus is created with provided props.- Returns:
this
-
existingEventBusInterface
public EventbridgeToStepfunctionsProps.Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface) Sets the value ofEventbridgeToStepfunctionsProps.getExistingEventBusInterface()- Parameters:
existingEventBusInterface- Existing instance of a custom EventBus.- Returns:
this
-
logGroupProps
public EventbridgeToStepfunctionsProps.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps) Sets the value ofEventbridgeToStepfunctionsProps.getLogGroupProps()- Parameters:
logGroupProps- User provided props to override the default props for the CloudWatchLogs LogGroup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventbridgeToStepfunctionsProps>- Returns:
- a new instance of
EventbridgeToStepfunctionsProps - Throws:
NullPointerException- if any required attribute was not provided
-