public static interface StopTaskResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<StopTaskResponse.Builder,StopTaskResponse>
| Modifier and Type | Method and Description |
|---|---|
default StopTaskResponse.Builder |
task(Consumer<Task.Builder> task)
The task that was stopped.
|
StopTaskResponse.Builder |
task(Task task)
The task that was stopped.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopTaskResponse.Builder task(Task task)
The task that was stopped.
task - The task that was stopped.default StopTaskResponse.Builder task(Consumer<Task.Builder> task)
The task that was stopped.
This is a convenience method that creates an instance of theTask.Builder avoiding the need to create
one manually via Task.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to task(Task).
task - a consumer that will call methods on Task.Buildertask(Task)Copyright © 2022. All rights reserved.