Class SfnStateMachine.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.SfnStateMachine.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SfnStateMachine>
- Enclosing class:
SfnStateMachine
@Stability(Experimental)
public static final class SfnStateMachine.Builder
extends Object
implements software.amazon.jsii.Builder<SfnStateMachine>
(experimental) A fluent builder for
SfnStateMachine
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static SfnStateMachine.Builder
create
(IStateMachine stateMachine) inputTransformation
(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.invocationType
(StateMachineInvocationType invocationType) (experimental) Specify whether to invoke the State Machine synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).
-
Method Details
-
create
- Parameters:
stateMachine
- This parameter is required.- Returns:
- a new instance of
SfnStateMachine.Builder
.
-
inputTransformation
@Stability(Experimental) public SfnStateMachine.Builder inputTransformation(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- Parameters:
inputTransformation
- The input transformation to apply to the message before sending it to the target. This parameter is required.- Returns:
this
- See Also:
-
invocationType
@Stability(Experimental) public SfnStateMachine.Builder invocationType(StateMachineInvocationType invocationType) (experimental) Specify whether to invoke the State Machine synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
).Default: StateMachineInvocationType.FIRE_AND_FORGET
- Parameters:
invocationType
- Specify whether to invoke the State Machine synchronously (REQUEST_RESPONSE
) or asynchronously (FIRE_AND_FORGET
). This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SfnStateMachine>
- Returns:
- a newly built instance of
SfnStateMachine
.
-