public GetQueryResultsResult withErrorMessage(String errorMessage) {
        setErrorMessage(errorMessage);
        return this;
    }
<p>
The error message returned if a query failed.
</p>

@param errorMessage
       The error message returned if a query failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/GetQueryResultsResult.java