public TaskContainerProperties withDependsOn(java.util.Collection<TaskContainerDependency> dependsOn) {
        setDependsOn(dependsOn);
        return this;
    }
<p>
A list of containers that this container depends on.
</p>

@param dependsOn
       A list of containers that this container depends on.
@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/TaskContainerProperties.java