public static interface TaskSucceededEventDetails.Builder extends SdkPojo, CopyableBuilder<TaskSucceededEventDetails.Builder,TaskSucceededEventDetails>
| Modifier and Type | Method and Description |
|---|---|
TaskSucceededEventDetails.Builder |
output(String output)
The full JSON response from a resource when a task has succeeded.
|
default TaskSucceededEventDetails.Builder |
outputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails)
Contains details about the output of an execution history event.
|
TaskSucceededEventDetails.Builder |
outputDetails(HistoryEventExecutionDataDetails outputDetails)
Contains details about the output of an execution history event.
|
TaskSucceededEventDetails.Builder |
resource(String resource)
The service name of the resource in a task state.
|
TaskSucceededEventDetails.Builder |
resourceType(String resourceType)
The action of the resource called by a task state.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTaskSucceededEventDetails.Builder resourceType(String resourceType)
The action of the resource called by a task state.
resourceType - The action of the resource called by a task state.TaskSucceededEventDetails.Builder resource(String resource)
The service name of the resource in a task state.
resource - The service name of the resource in a task state.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.
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.TaskSucceededEventDetails.Builder outputDetails(HistoryEventExecutionDataDetails outputDetails)
Contains details about the output of an execution history event.
outputDetails - Contains details about the output of an execution history event.default TaskSucceededEventDetails.Builder outputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> outputDetails)
Contains details about the output of an execution history event.
This is a convenience that creates an instance of theHistoryEventExecutionDataDetails.Builder
avoiding the need to create one manually via HistoryEventExecutionDataDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to outputDetails(HistoryEventExecutionDataDetails).outputDetails - a consumer that will call methods on HistoryEventExecutionDataDetails.BuilderoutputDetails(HistoryEventExecutionDataDetails)Copyright © 2022. All rights reserved.