public TaskPropertiesOverride withContainers(java.util.Collection<TaskContainerOverrides> containers) {
        setContainers(containers);
        return this;
    }
<p>
The overrides for the container definition of a job.
</p>

@param containers
       The overrides for the container definition of a job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/TaskPropertiesOverride.java