code: @SuppressWarnings("unchecked")
    public SELF setMediaType(String s) {
      requireNonNull(s, "media type of response cannot be null");
      this.mediaType = s;
      return (SELF) this;
    }
docs: Expected media type of response. Default is {@link MediaTypes#JSON}.