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