code: public synchronized Filter addAttribute(String key, String value) {
      attributes.put(key, value);
      return this;
    }
docs: Adds an attribute to the filter.
  
  @param key The attribute key.
  @param value The attribute value.
  @return This filter
  @since 1.0.0