code: public void addAttribute(String key, Object value) {
          Objects.requireNonNull(key, Required.KEY.toString());
          this.attributes.put(key, value);
      }
docs: Adds an attribute to the internal attributes map
  
  @param key The key to store the attribute
  @param value The value to store