Interface DescribeTaskSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTaskSetsResponse.Builder,
,DescribeTaskSetsResponse> EcsResponse.Builder
,SdkBuilder<DescribeTaskSetsResponse.Builder,
,DescribeTaskSetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTaskSetsResponse
public static interface DescribeTaskSetsResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskSetsResponse.Builder,DescribeTaskSetsResponse>
-
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.taskSets
(Collection<TaskSet> taskSets) The list of task sets described.taskSets
(Consumer<TaskSet.Builder>... taskSets) The list of task sets described.The list of task sets described.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
-
taskSets
The list of task sets described.
- Parameters:
taskSets
- The list of task sets described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSets
The list of task sets described.
- Parameters:
taskSets
- The list of task sets described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskSets
The list of task sets described.
This is a convenience method that creates an instance of theTaskSet.Builder
avoiding the need to create one manually viaTaskSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskSets(List<TaskSet>)
.- Parameters:
taskSets
- a consumer that will call methods onTaskSet.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:
-