public U otherFields(Map<String, ?> fields) {
            var map = $.otherFields != null ? new LinkedHashMap($.otherFields) : new LinkedHashMap<String, Output>();
            for (var entry : fields.entrySet()) {
                var value = entry.getValue();
                map.put(entry.getKey(), (value instanceof Output) ? (Output) value : Output.of(value));
            }
            $.otherFields = map;
            return (U) this;
        }
@param fields Untyped map that holds any user-defined fields (which may be Output values).

@return builder
provider/pkg/gen/java-templates/java/src/main/java/com/pulumi/kubernetes/apiextensions/CustomResourcePatchArgsBase.java