docs: public HttpMediaType setSubType(String subType) {
      Preconditions.checkArgument(
          TYPE_REGEX.matcher(subType).matches(), "Subtype contains reserved characters");
      this.subType = subType;
      cachedBuildResult = null;
      return this;
    }