code: public synchronized Filter addAttributes(Map<String, String> attributes) {
      for(Map.Entry<String, String> pair : attributes.entrySet()) {
        String key = pair.getKey();
        String value = pair.getValue();
        this.attributes.put(key, value);
      }
      return this;
    }
docs: Adds a map of attributes to the filter.
  
  @param attributes The map of attributes to add.
  @return This filter
  @since 1.0.0