Interface DescribeContainerInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeContainerInstancesResponse.Builder,DescribeContainerInstancesResponse>,EcsResponse.Builder,SdkBuilder<DescribeContainerInstancesResponse.Builder,DescribeContainerInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeContainerInstancesResponse
public static interface DescribeContainerInstancesResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeContainerInstancesResponse.Builder,DescribeContainerInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeContainerInstancesResponse.BuildercontainerInstances(Collection<ContainerInstance> containerInstances)The list of container instances.DescribeContainerInstancesResponse.BuildercontainerInstances(Consumer<ContainerInstance.Builder>... containerInstances)The list of container instances.DescribeContainerInstancesResponse.BuildercontainerInstances(ContainerInstance... containerInstances)The list of container instances.DescribeContainerInstancesResponse.Builderfailures(Collection<Failure> failures)Any failures associated with the call.DescribeContainerInstancesResponse.Builderfailures(Consumer<Failure.Builder>... failures)Any failures associated with the call.DescribeContainerInstancesResponse.Builderfailures(Failure... failures)Any failures associated with the call.-
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 Detail
-
containerInstances
DescribeContainerInstancesResponse.Builder containerInstances(Collection<ContainerInstance> containerInstances)
The list of container instances.
- Parameters:
containerInstances- The list of container instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstances
DescribeContainerInstancesResponse.Builder containerInstances(ContainerInstance... containerInstances)
The list of container instances.
- Parameters:
containerInstances- The list of container instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerInstances
DescribeContainerInstancesResponse.Builder containerInstances(Consumer<ContainerInstance.Builder>... containerInstances)
The list of container instances.
This is a convenience method that creates an instance of theContainerInstance.Builderavoiding the need to create one manually viaContainerInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containerInstances(List.) - Parameters:
containerInstances- a consumer that will call methods onContainerInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containerInstances(java.util.Collection)
-
failures
DescribeContainerInstancesResponse.Builder failures(Collection<Failure> 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
DescribeContainerInstancesResponse.Builder failures(Failure... 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
DescribeContainerInstancesResponse.Builder failures(Consumer<Failure.Builder>... failures)
Any failures associated with the call.
This is a convenience method that creates an instance of theFailure.Builderavoiding the need to create one manually viaFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failures(List.) - 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:
#failures(java.util.Collection)
-
-