public String getErrorCode() {
        return this.errorCode;
    }
<p>
The error code for why the document couldn't be removed from the index.
</p>

@return The error code for why the document couldn't be removed from the index.
@see ErrorCode
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/BatchDeleteDocumentResponseFailedDocument.java