public XmlEntityBuilder withAttributes(final Map<String, String> attributes) {
      xmlEntity.attributes = attributes;

      return this;
    }
Replaces all attributes with the supplied attributes {@link Map}.

@param attributes {@link Map} to use.
@return this XmlEntityBuilder
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/management/internal/configuration/domain/XmlEntity.java