public void setContainers(java.util.Collection<Container> containers) {
        if (containers == null) {
            this.containers = null;
            return;
        }

        this.containers = new com.amazonaws.internal.SdkInternalList<Container>(containers);
    }
<p>
The containers that's associated with the task.
</p>

@param containers
       The containers that's associated with the task.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java