Interface StateEnteredEventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StateEnteredEventDetails.Builder,
,StateEnteredEventDetails> SdkBuilder<StateEnteredEventDetails.Builder,
,StateEnteredEventDetails> SdkPojo
- Enclosing class:
StateEnteredEventDetails
public static interface StateEnteredEventDetails.Builder
extends SdkPojo, CopyableBuilder<StateEnteredEventDetails.Builder,StateEnteredEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe string that contains the JSON input data for the state.default StateEnteredEventDetails.Builder
inputDetails
(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails) Contains details about the input for an execution history event.inputDetails
(HistoryEventExecutionDataDetails inputDetails) Contains details about the input for an execution history event.The name of the state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the state.
- Parameters:
name
- The name of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The string that contains the JSON input data for the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
input
- The string that contains the JSON input data for the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
Contains details about the input for an execution history event.
- Parameters:
inputDetails
- Contains details about the input for an execution history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
default StateEnteredEventDetails.Builder inputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails) Contains details about the input for an execution history event.
This is a convenience method that creates an instance of theHistoryEventExecutionDataDetails.Builder
avoiding the need to create one manually viaHistoryEventExecutionDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDetails(HistoryEventExecutionDataDetails)
.- Parameters:
inputDetails
- a consumer that will call methods onHistoryEventExecutionDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-