public ResourceScanSummary withStatus(ResourceScanStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
Status of the resource scan.
</p>
<dl>
<dt>INPROGRESS</dt>
<dd>
<p>
The resource scan is still in progress.
</p>
</dd>
<dt>COMPLETE</dt>
<dd>
<p>
The resource scan is complete.
</p>
</dd>
<dt>EXPIRED</dt>
<dd>
<p>
The resource scan has expired.
</p>
</dd>
<dt>FAILED</dt>
<dd>
<p>
The resource scan has failed.
</p>
</dd>
</dl>

@param status
       Status of the resource scan.</p>
       <dl>
       <dt>INPROGRESS</dt>
       <dd>
       <p>
       The resource scan is still in progress.
       </p>
       </dd>
       <dt>COMPLETE</dt>
       <dd>
       <p>
       The resource scan is complete.
       </p>
       </dd>
       <dt>EXPIRED</dt>
       <dd>
       <p>
       The resource scan has expired.
       </p>
       </dd>
       <dt>FAILED</dt>
       <dd>
       <p>
       The resource scan has failed.
       </p>
       </dd>
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceScanStatus
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceScanSummary.java