public EksAttemptDetail withInitContainers(java.util.Collection<EksAttemptContainerDetail> initContainers) {
        setInitContainers(initContainers);
        return this;
    }
<p>
The details for the init containers.
</p>

@param initContainers
       The details for the init containers.
@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/EksAttemptDetail.java