Class SfnStateMachineParameters.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.SfnStateMachineParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SfnStateMachineParameters>
- Enclosing interface:
SfnStateMachineParameters
@Stability(Experimental)
public static final class SfnStateMachineParameters.Builder
extends Object
implements software.amazon.jsii.Builder<SfnStateMachineParameters>
A builder for
SfnStateMachineParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputTransformation(IInputTransformation inputTransformation) Sets the value ofSfnStateMachineParameters.getInputTransformation()invocationType(StateMachineInvocationType invocationType) Sets the value ofSfnStateMachineParameters.getInvocationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputTransformation
@Stability(Experimental) public SfnStateMachineParameters.Builder inputTransformation(IInputTransformation inputTransformation) Sets the value ofSfnStateMachineParameters.getInputTransformation()- Parameters:
inputTransformation- The input transformation to apply to the message before sending it to the target.- Returns:
this
-
invocationType
@Stability(Experimental) public SfnStateMachineParameters.Builder invocationType(StateMachineInvocationType invocationType) Sets the value ofSfnStateMachineParameters.getInvocationType()- Parameters:
invocationType- Specify whether to invoke the State Machine synchronously (REQUEST_RESPONSE) or asynchronously (FIRE_AND_FORGET).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SfnStateMachineParameters>- Returns:
- a new instance of
SfnStateMachineParameters - Throws:
NullPointerException- if any required attribute was not provided
-