public XmlEntityBuilder withType(final String type) {
      xmlEntity.type = type;

      return this;
    }
Sets the type or element name value as returned by {@link XmlEntity#getType()}

@param type Name of element type.
@return this XmlEntityBuilder
@since GemFire 8.1
geode-core/src/main/java/org/apache/geode/management/internal/configuration/domain/XmlEntity.java