public RuleGroupsNamespaceStatus withStatusCode(RuleGroupsNamespaceStatusCode statusCode) {
        this.statusCode = statusCode.toString();
        return this;
    }
<p>
The current status of the namespace.
</p>

@param statusCode
       The current status of the namespace.
@return Returns a reference to this object so that method calls can be chained together.
@see RuleGroupsNamespaceStatusCode
aws-java-sdk-prometheus/src/main/java/com/amazonaws/services/prometheus/model/RuleGroupsNamespaceStatus.java