public VolumeMountPatch build() {
            final var _resultValue = new VolumeMountPatch();
            _resultValue.mountPath = mountPath;
            _resultValue.mountPropagation = mountPropagation;
            _resultValue.name = name;
            _resultValue.readOnly = readOnly;
            _resultValue.recursiveReadOnly = recursiveReadOnly;
            _resultValue.subPath = subPath;
            _resultValue.subPathExpr = subPathExpr;
            return _resultValue;
        }
@return Expanded path within the volume from which the container&#39;s volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container&#39;s environment. Defaults to &#34;&#34; (volume&#39;s root). SubPathExpr and SubPath are mutually exclusive.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/VolumeMountPatch.java