public static interface RunTaskResponse.Builder extends EcsResponse.Builder, CopyableBuilder<RunTaskResponse.Builder,RunTaskResponse>
Modifier and Type | Method and Description |
---|---|
RunTaskResponse.Builder |
failures(Collection<Failure> failures)
Any failures associated with the call.
|
RunTaskResponse.Builder |
failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
|
RunTaskResponse.Builder |
failures(Failure... failures)
Any failures associated with the call.
|
RunTaskResponse.Builder |
tasks(Collection<Task> tasks)
A full description of the tasks that were run.
|
RunTaskResponse.Builder |
tasks(Consumer<Task.Builder>... tasks)
A full description of the tasks that were run.
|
RunTaskResponse.Builder |
tasks(Task... tasks)
A full description of the tasks that were run.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
RunTaskResponse.Builder tasks(Collection<Task> tasks)
A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
tasks
- A full description of the tasks that were run. Each task that was successfully placed on your cluster
are described here.RunTaskResponse.Builder tasks(Task... tasks)
A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
tasks
- A full description of the tasks that were run. Each task that was successfully placed on your cluster
are described here.RunTaskResponse.Builder tasks(Consumer<Task.Builder>... tasks)
A full description of the tasks that were run. Each task that was successfully placed on your cluster 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)
RunTaskResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.RunTaskResponse.Builder failures(Failure... failures)
Any failures associated with the call.
failures
- Any failures associated with the call.RunTaskResponse.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.