public void setVolumeMounts(java.util.Collection<EksContainerVolumeMount> volumeMounts) {
        if (volumeMounts == null) {
            this.volumeMounts = null;
            return;
        }

        this.volumeMounts = new java.util.ArrayList<EksContainerVolumeMount>(volumeMounts);
    }
<p>
The volume mounts for the container. Batch supports <code>emptyDir</code>, <code>hostPath</code>, and
<code>secret</code> volume types. For more information about volumes and volume mounts in Kubernetes, see <a
href="https://kubernetes.io/docs/concepts/storage/volumes/">Volumes</a> in the <i>Kubernetes documentation</i>.
</p>

@param volumeMounts
       The volume mounts for the container. Batch supports <code>emptyDir</code>, <code>hostPath</code>, and
       <code>secret</code> volume types. For more information about volumes and volume mounts in Kubernetes, see
       <a href="https://kubernetes.io/docs/concepts/storage/volumes/">Volumes</a> in the <i>Kubernetes
       documentation</i>.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EksContainerDetail.java