public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
<p>
If the <code>Status</code> field is set to <code>ERROR</code>, the <code>ErrorMessage</code> field contains a
description of the error that caused the synchronization to fail.
</p>

@param errorMessage
       If the <code>Status</code> field is set to <code>ERROR</code>, the <code>ErrorMessage</code> field
       contains a description of the error that caused the synchronization to fail.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/DataSourceSyncJob.java