Interface TaskSucceededEventDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskSucceededEventDetails.Builder,,TaskSucceededEventDetails> SdkBuilder<TaskSucceededEventDetails.Builder,,TaskSucceededEventDetails> SdkPojo
- Enclosing class:
TaskSucceededEventDetails
public static interface TaskSucceededEventDetails.Builder
extends SdkPojo, CopyableBuilder<TaskSucceededEventDetails.Builder,TaskSucceededEventDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe full JSON response from a resource when a task has succeeded.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.The action of the resource called by a task state.resourceType(String resourceType) The service name of the resource in a task state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceType
The service name of the resource in a task state.
- Parameters:
resourceType- The service name of the resource in a task state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The action of the resource called by a task state.
- Parameters:
resource- The action of the resource called by a task state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
The full JSON response from a resource when a task has succeeded. This response becomes the output of the related task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
output- The full JSON response from a resource when a task has succeeded. This response becomes the output of the related 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 TaskSucceededEventDetails.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.Builderavoiding the need to create one manually viaHistoryEventExecutionDataDetails.builder().When the
Consumercompletes,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:
-