public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
<p>
Indicates the source of the error.
</p>

@param errorCode
       Indicates the source of the error.
@see ErrorCode
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/BatchGetDocumentStatusResponseError.java