public void setError(ErrorDetail error) {
        this.error = error;
    }
<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 error
       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-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/GetApplicationResult.java