public BatchGetDocumentStatusResponseError withErrorMessage(String errorMessage) {
        setErrorMessage(errorMessage);
        return this;
    }
<p>
States that the API could not get the status of a document. This could be because the request is not valid or
there is a system error.
</p>

@param errorMessage
       States that the API could not get the status of a document. This could be because the request is not valid
       or there is a system error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/BatchGetDocumentStatusResponseError.java