Interface ActivitySucceededEventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActivitySucceededEventDetails.Builder,
,ActivitySucceededEventDetails> SdkBuilder<ActivitySucceededEventDetails.Builder,
,ActivitySucceededEventDetails> SdkPojo
- Enclosing class:
ActivitySucceededEventDetails
public static interface ActivitySucceededEventDetails.Builder
extends SdkPojo, CopyableBuilder<ActivitySucceededEventDetails.Builder,ActivitySucceededEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON data output by the activity task.outputDetails
(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails) Contains details about the output of an execution history event.outputDetails
(HistoryEventExecutionDataDetails outputDetails) Contains details about the output of an execution history event.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
-
output
The JSON data output by the activity task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
output
- The JSON data output by the activity task. 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.
-
outputDetails
Contains details about the output of an execution history event.
- Parameters:
outputDetails
- Contains details about the output of an execution history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDetails
default ActivitySucceededEventDetails.Builder outputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails) Contains details about the output of 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 tooutputDetails(HistoryEventExecutionDataDetails)
.- Parameters:
outputDetails
- 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:
-