Sets an attribute with a specific name and value.
void setAttributes(Map<String, String> attributes);