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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
StopTaskResponse.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.Builder
task(Task)
Copyright © 2019. All rights reserved.