public static Tagging tagging(Map<String, String> tagging) {
        if (null == tagging) {
            return null;
        }
        List<Tag> tags = tagging.entrySet().stream()
            .map(e -> Tag.builder().key(e.getKey()).value(e.getValue()))
            .map(Tag.Builder::build)
            .collect(Collectors.toList());
        return Tagging.builder().tagSet(tags).build();
    }
Convert a list of tags to a tagging object.
It will return null if the input is null.
s3stream/src/main/java/com/automq/stream/s3/metadata/ObjectUtils.java