public Snapshot withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The snapshot status. The value of the status depends on the API operation used:
</p>
<ul>
<li>
<p>
<a>CreateClusterSnapshot</a> and <a>CopyClusterSnapshot</a> returns status as "creating".
</p>
</li>
<li>
<p>
<a>DescribeClusterSnapshots</a> returns status as "creating", "available", "final snapshot", or "failed".
</p>
</li>
<li>
<p>
<a>DeleteClusterSnapshot</a> returns status as "deleted".
</p>
</li>
</ul>

@param status
       The snapshot status. The value of the status depends on the API operation used: </p>
       <ul>
       <li>
       <p>
       <a>CreateClusterSnapshot</a> and <a>CopyClusterSnapshot</a> returns status as "creating".
       </p>
       </li>
       <li>
       <p>
       <a>DescribeClusterSnapshots</a> returns status as "creating", "available", "final snapshot", or "failed".
       </p>
       </li>
       <li>
       <p>
       <a>DeleteClusterSnapshot</a> returns status as "deleted".
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Snapshot.java