public EksVolume withHostPath(EksHostPath hostPath) {
        setHostPath(hostPath);
        return this;
    }
<p>
Specifies the configuration of a Kubernetes <code>hostPath</code> volume. For more information, see <a
href="https://kubernetes.io/docs/concepts/storage/volumes/#hostpath">hostPath</a> in the <i>Kubernetes
documentation</i>.
</p>

@param hostPath
       Specifies the configuration of a Kubernetes <code>hostPath</code> volume. For more information, see <a
       href="https://kubernetes.io/docs/concepts/storage/volumes/#hostpath">hostPath</a> in the <i>Kubernetes
       documentation</i>.
@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/EksVolume.java