public GetObjectRequest withResponseHeaders(ResponseHeaderOverrides responseHeaders) {
        setResponseHeaders(responseHeaders);
        return this;
    }
Sets the headers to be overridden in the service response and returns
this object, for method chaining.

@param responseHeaders
           The headers to be overridden in the service response.

@return This {@link GetObjectRequest} for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/GetObjectRequest.java