public static interface StartTaskResponse.Builder extends EcsResponse.Builder, CopyableBuilder<StartTaskResponse.Builder,StartTaskResponse>
Modifier and Type | Method and Description |
---|---|
StartTaskResponse.Builder |
failures(Collection<Failure> failures)
Any failures associated with the call.
|
StartTaskResponse.Builder |
failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
|
StartTaskResponse.Builder |
failures(Failure... failures)
Any failures associated with the call.
|
StartTaskResponse.Builder |
tasks(Collection<Task> tasks)
A full description of the tasks that were started.
|
StartTaskResponse.Builder |
tasks(Consumer<Task.Builder>... tasks)
A full description of the tasks that were started.
|
StartTaskResponse.Builder |
tasks(Task... tasks)
A full description of the tasks that were started.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
StartTaskResponse.Builder tasks(Collection<Task> tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
tasks
- A full description of the tasks that were started. Each task that was successfully placed on your
container instances are described here.StartTaskResponse.Builder tasks(Task... tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
tasks
- A full description of the tasks that were started. Each task that was successfully placed on your
container instances are described here.StartTaskResponse.Builder tasks(Consumer<Task.Builder>... tasks)
A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tasks(List)
.tasks
- a consumer that will call methods on List.Builder
#tasks(List)
StartTaskResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.StartTaskResponse.Builder failures(Failure... failures)
Any failures associated with the call.
failures
- Any failures associated with the call.StartTaskResponse.Builder failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #failures(List)
.failures
- a consumer that will call methods on List.Builder
#failures(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.