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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TaskSucceededEventDetails.Builderoutput(String output)The full JSON response from a resource when a task has succeeded.default TaskSucceededEventDetails.BuilderoutputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails)Contains details about the output of an execution history event.TaskSucceededEventDetails.BuilderoutputDetails(HistoryEventExecutionDataDetails outputDetails)Contains details about the output of an execution history event.TaskSucceededEventDetails.Builderresource(String resource)The action of the resource called by a task state.TaskSucceededEventDetails.BuilderresourceType(String resourceType)The service name of the resource in a task 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 Detail
-
resourceType
TaskSucceededEventDetails.Builder resourceType(String 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
TaskSucceededEventDetails.Builder resource(String 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
TaskSucceededEventDetails.Builder output(String 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
TaskSucceededEventDetails.Builder outputDetails(HistoryEventExecutionDataDetails 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:
outputDetails(HistoryEventExecutionDataDetails)
-
-