public NodeGroup withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The current state of this replication group - <code>creating</code>, <code>available</code>,
<code>modifying</code>, <code>deleting</code>.
</p>

@param status
       The current state of this replication group - <code>creating</code>, <code>available</code>,
       <code>modifying</code>, <code>deleting</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NodeGroup.java