public EventSubscription withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the Amazon Redshift event notification subscription.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Can be one of the following: active | no-permission | topic-not-exist
</p>
</li>
<li>
<p>
The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS
topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.
</p>
</li>
</ul>

@param status
       The status of the Amazon Redshift event notification subscription.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Can be one of the following: active | no-permission | topic-not-exist
       </p>
       </li>
       <li>
       <p>
       The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon
       SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was
       created.
       </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/EventSubscription.java