Interface SingleStateOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ParallelProps
- All Known Implementing Classes:
SingleStateOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.930Z")
@Stability(Stable)
public interface SingleStateOptions
extends software.amazon.jsii.JsiiSerializable, ParallelProps
Options for creating a single state.
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.*;
Object resultSelector;
SingleStateOptions singleStateOptions = SingleStateOptions.builder()
.comment("comment")
.inputPath("inputPath")
.outputPath("outputPath")
.prefixStates("prefixStates")
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.stateId("stateId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSingleStateOptionsstatic final classAn implementation forSingleStateOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleStateOptions.Builderbuilder()default StringString to prefix all stateIds in the state machine with.default StringID of newly created containing state.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.ParallelProps
getComment, getInputPath, getOutputPath, getResultPath, getResultSelector
-
Method Details
-
getPrefixStates
String to prefix all stateIds in the state machine with.Default: stateId
-
getStateId
ID of newly created containing state.Default: Construct ID of the StateMachineFragment
-
builder
- Returns:
- a
SingleStateOptions.BuilderofSingleStateOptions
-