Interface RunTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RunTaskResponse.Builder,
,RunTaskResponse> EcsResponse.Builder
,SdkBuilder<RunTaskResponse.Builder,
,RunTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RunTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailures
(Collection<Failure> failures) Any failures associated with the call.failures
(Consumer<Failure.Builder>... failures) Any failures associated with the call.Any failures associated with the call.tasks
(Collection<Task> tasks) A full description of the tasks that were run.tasks
(Consumer<Task.Builder>... tasks) A full description of the tasks that were run.A full description of the tasks that were run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tasks
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
- Parameters:
tasks
- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
- Parameters:
tasks
- A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
This is a convenience method that creates an instance of theTask.Builder
avoiding the need to create one manually viaTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<Task>)
.- Parameters:
tasks
- a consumer that will call methods onTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
- Parameters:
failures
- Any failures associated with the call.For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
- Parameters:
failures
- Any failures associated with the call.For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
This is a convenience method that creates an instance of theFailure.Builder
avoiding the need to create one manually viaFailure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailures(List<Failure>)
.- Parameters:
failures
- a consumer that will call methods onFailure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-