Class CfnStateMachine.EventSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachine.EventSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.EventSourceProperty>
- Enclosing interface:
CfnStateMachine.EventSourceProperty
@Stability(Stable)
public static final class CfnStateMachine.EventSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.EventSourceProperty>
A builder for
CfnStateMachine.EventSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.properties
(IResolvable properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
properties
(CfnStateMachine.ApiEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
properties
(CfnStateMachine.ScheduleEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
Sets the value ofCfnStateMachine.EventSourceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
properties
@Stability(Stable) public CfnStateMachine.EventSourceProperty.Builder properties(IResolvable properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
- Parameters:
properties
- the value to be set. This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public CfnStateMachine.EventSourceProperty.Builder properties(CfnStateMachine.ApiEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
- Parameters:
properties
- the value to be set. This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public CfnStateMachine.EventSourceProperty.Builder properties(CfnStateMachine.CloudWatchEventEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
- Parameters:
properties
- the value to be set. This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public CfnStateMachine.EventSourceProperty.Builder properties(CfnStateMachine.EventBridgeRuleEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
- Parameters:
properties
- the value to be set. This parameter is required.- Returns:
this
-
properties
@Stability(Stable) public CfnStateMachine.EventSourceProperty.Builder properties(CfnStateMachine.ScheduleEventProperty properties) Sets the value ofCfnStateMachine.EventSourceProperty.getProperties()
- Parameters:
properties
- the value to be set. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnStateMachine.EventSourceProperty.getType()
- Parameters:
type
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStateMachine.EventSourceProperty>
- Returns:
- a new instance of
CfnStateMachine.EventSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-