public static interface StopTaskResponse.Builder extends ECSResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.