Interface TaskSubmittedEventDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskSubmittedEventDetails.Builder,TaskSubmittedEventDetails>,SdkBuilder<TaskSubmittedEventDetails.Builder,TaskSubmittedEventDetails>,SdkPojo
- Enclosing class:
- TaskSubmittedEventDetails
public static interface TaskSubmittedEventDetails.Builder extends SdkPojo, CopyableBuilder<TaskSubmittedEventDetails.Builder,TaskSubmittedEventDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TaskSubmittedEventDetails.Builderoutput(String output)The response from a resource when a task has started.default TaskSubmittedEventDetails.BuilderoutputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails)Contains details about the output of an execution history event.TaskSubmittedEventDetails.BuilderoutputDetails(HistoryEventExecutionDataDetails outputDetails)Contains details about the output of an execution history event.TaskSubmittedEventDetails.Builderresource(String resource)The action of the resource called by a task state.TaskSubmittedEventDetails.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceType
TaskSubmittedEventDetails.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
TaskSubmittedEventDetails.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
TaskSubmittedEventDetails.Builder output(String output)
The response from a resource when a task has started. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
output- The response from a resource when a task has started. 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
TaskSubmittedEventDetails.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 TaskSubmittedEventDetails.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)
-
-