public AllowedHostPathPatch build() {
            final var _resultValue = new AllowedHostPathPatch();
            _resultValue.pathPrefix = pathPrefix;
            _resultValue.readOnly = readOnly;
            return _resultValue;
        }
@return when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/outputs/AllowedHostPathPatch.java