public String getContentEncoding() {
        return contentEncoding;
    }
Returns the content encoding response header override if it has been
specified, or null otherwise.

@return Returns the content encoding response header override if it has
        been specified, or null otherwise.
@see ResponseHeaderOverrides#RESPONSE_HEADER_CONTENT_ENCODING
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ResponseHeaderOverrides.java