public XmlEntityBuilder withAttribute(final String name, final String value) {
      xmlEntity.attributes.put(name, value);

      return this;
    }
Adds an attribute for the given <code>name</code> and <code>value</code> to the attributes
map returned by {@link XmlEntity#getAttributes()} or {@link XmlEntity#getAttribute(String)}.

@param name Name of attribute to set.
@param value Value of attribute to set.
@return this XmlEntityBuilder
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/management/internal/configuration/domain/XmlEntity.java