public Optional<EmptyDirVolumeSource> emptyDir() {
        return Optional.ofNullable(this.emptyDir);
    }
@return emptyDir represents a temporary directory that shares a pod&#39;s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Volume.java