public EntityBuilder setContentEncoding(final String contentEncoding) {
        this.contentEncoding = contentEncoding;
        return this;
    }
Sets the content encoding of the entity.

@param contentEncoding the content encoding of the entity, may be null.
@return this instance.
httpclient5/src/main/java/org/apache/hc/client5/http/entity/EntityBuilder.java