public Task withContainers(java.util.Collection<Container> containers) {
        setContainers(containers);
        return this;
    }
<p>
The containers that's associated with the task.
</p>

@param containers
       The containers that's associated with the task.
@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/Task.java