public String getError() {
        return this.error;
    }
<p>
If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the
finding, a description of the error that occurred. This value is null if the status (status) of the request is
PROCESSING or SUCCESS.
</p>

@return If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by
        the finding, a description of the error that occurred. This value is null if the status (status) of the
        request is PROCESSING or SUCCESS.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetSensitiveDataOccurrencesResult.java