private void clearContent() {
        this.text = null;
        this.binary = null;
        this.stream = null;
        this.parameters = null;
        this.serializable = null;
        this.file = null;
    }
Builder for {@link HttpEntity} instances.
<p>
Several setter methods of this builder are mutually exclusive. In case of multiple invocations
of the following methods only the last one will have effect:
</p>
<ul>
  <li>{@link #setText(String)}</li>
  <li>{@link #setBinary(byte[])}</li>
  <li>{@link #setStream(java.io.InputStream)}</li>
  <li>{@link #setSerializable(java.io.Serializable)}</li>
  <li>{@link #setParameters(java.util.List)}</li>
  <li>{@link #setParameters(NameValuePair...)}</li>
  <li>{@link #setFile(java.io.File)}</li>
</ul>

@since 4.3
httpclient5/src/main/java/org/apache/hc/client5/http/entity/EntityBuilder.java