public GetSensitiveDataOccurrencesResult withStatus(RevealRequestStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
</p>
<ul>
<li>
<p>
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The
error value indicates the nature of the error that occurred.
</p>
</li>
<li>
<p>
PROCESSING - Macie is processing the request.
</p>
</li>
<li>
<p>
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
</p>
</li>
</ul>

@param status
       The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible
       values are:</p>
       <ul>
       <li>
       <p>
       ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data.
       The error value indicates the nature of the error that occurred.
       </p>
       </li>
       <li>
       <p>
       PROCESSING - Macie is processing the request.
       </p>
       </li>
       <li>
       <p>
       SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see RevealRequestStatus
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetSensitiveDataOccurrencesResult.java