public WriteGetObjectResponseRequest withErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }
Set a generic description of the error condition. Returned in the &lt;Message&gt; tag of the error XML
response for a corresponding <code>GetObject</code> call. Cannot be used with a successful
<code>StatusCode</code> header or when the transformed object is provided in body.

@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/WriteGetObjectResponseRequest.java