public void setContainerInstances(java.util.Collection<ContainerInstance> containerInstances) {
        if (containerInstances == null) {
            this.containerInstances = null;
            return;
        }

        this.containerInstances = new com.amazonaws.internal.SdkInternalList<ContainerInstance>(containerInstances);
    }
<p>
The list of container instances.
</p>

@param containerInstances
       The list of container instances.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DescribeContainerInstancesResult.java