Interface DescribeTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTasksResponse.Builder,
,DescribeTasksResponse> EcsResponse.Builder
,SdkBuilder<DescribeTasksResponse.Builder,
,DescribeTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTasksResponse
public static interface DescribeTasksResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeTasksResponse.Builder,DescribeTasksResponse>
-
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) The list of tasks.tasks
(Consumer<Task.Builder>... tasks) The list of tasks.The list of tasks.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
The list of tasks.
- Parameters:
tasks
- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks.
- Parameters:
tasks
- The list of tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks.
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.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Any failures associated with the call.
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:
-