Interface AfterwardsOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AfterwardsOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:23.379Z")
@Stability(Stable)
public interface AfterwardsOptions
extends software.amazon.jsii.JsiiSerializable
Options for selecting the choice paths.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;
AfterwardsOptions afterwardsOptions = AfterwardsOptions.builder()
.includeErrorHandlers(false)
.includeOtherwise(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAfterwardsOptionsstatic final classAn implementation forAfterwardsOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic AfterwardsOptions.Builderbuilder()default BooleanWhether to include error handling states.default BooleanWhether to include the default/otherwise transition for the current Choice state.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIncludeErrorHandlers
Whether to include error handling states.If this is true, all states which are error handlers (added through 'onError') and states reachable via error handlers will be included as well.
Default: false
-
getIncludeOtherwise
Whether to include the default/otherwise transition for the current Choice state.If this is true and the current Choice does not have a default outgoing transition, one will be added included when .next() is called on the chain.
Default: false
-
builder
- Returns:
- a
AfterwardsOptions.BuilderofAfterwardsOptions
-