public ManagedRuleState withState(String state) {
        setState(state);
        return this;
    }
<p>
Indicates whether the rule is enabled or disabled.
</p>

@param state
       Indicates whether the rule is enabled or disabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/ManagedRuleState.java