public static interface DescribeContainerInstancesResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeContainerInstancesResponse.Builder,DescribeContainerInstancesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeContainerInstancesResponse.Builder |
containerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
|
DescribeContainerInstancesResponse.Builder |
containerInstances(Consumer<ContainerInstance.Builder>... containerInstances)
The list of container instances.
|
DescribeContainerInstancesResponse.Builder |
containerInstances(ContainerInstance... containerInstances)
The list of container instances.
|
DescribeContainerInstancesResponse.Builder |
failures(Collection<Failure> failures)
Any failures associated with the call.
|
DescribeContainerInstancesResponse.Builder |
failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
|
DescribeContainerInstancesResponse.Builder |
failures(Failure... failures)
Any failures associated with the call.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeContainerInstancesResponse.Builder containerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
containerInstances
- The list of container instances.DescribeContainerInstancesResponse.Builder containerInstances(ContainerInstance... containerInstances)
The list of container instances.
containerInstances
- The list of container instances.DescribeContainerInstancesResponse.Builder containerInstances(Consumer<ContainerInstance.Builder>... containerInstances)
The list of container instances.
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 #containerInstances(List)
.containerInstances
- a consumer that will call methods on List.Builder
#containerInstances(List)
DescribeContainerInstancesResponse.Builder failures(Collection<Failure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.DescribeContainerInstancesResponse.Builder failures(Failure... failures)
Any failures associated with the call.
failures
- Any failures associated with the call.DescribeContainerInstancesResponse.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.