public DescribeNotificationRuleResult withStatus(NotificationRuleStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).
</p>

@param status
       The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
       notifications).
@return Returns a reference to this object so that method calls can be chained together.
@see NotificationRuleStatus
aws-java-sdk-codestarnotifications/src/main/java/com/amazonaws/services/codestarnotifications/model/DescribeNotificationRuleResult.java