Class CfnPipe.PipeTargetStateMachineParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetStateMachineParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetStateMachineParametersProperty>
- Enclosing interface:
CfnPipe.PipeTargetStateMachineParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetStateMachineParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetStateMachineParametersProperty>
A builder for
CfnPipe.PipeTargetStateMachineParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.invocationType
(String invocationType) Sets the value ofCfnPipe.PipeTargetStateMachineParametersProperty.getInvocationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invocationType
@Stability(Stable) public CfnPipe.PipeTargetStateMachineParametersProperty.Builder invocationType(String invocationType) Sets the value ofCfnPipe.PipeTargetStateMachineParametersProperty.getInvocationType()
- Parameters:
invocationType
- Specify whether to invoke the Step Functions state machine synchronously or asynchronously.REQUEST_RESPONSE
(default) - Invoke synchronously. For more information, see StartSyncExecution in the AWS Step Functions API Reference .
REQUEST_RESPONSE
is not supported forSTANDARD
state machine workflows.FIRE_AND_FORGET
- Invoke asynchronously. For more information, see StartExecution in the AWS Step Functions API Reference .
For more information, see Invocation types in the Amazon EventBridge User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetStateMachineParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetStateMachineParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-