public DescribeContainerInstancesResult withContainerInstances(java.util.Collection<ContainerInstance> containerInstances) {
        setContainerInstances(containerInstances);
        return this;
    }
<p>
The list of container instances.
</p>

@param containerInstances
       The list of container instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DescribeContainerInstancesResult.java