public ConditionState withRuleStates(java.util.Collection<RuleState> ruleStates) {
        setRuleStates(ruleStates);
        return this;
    }
<p>
The state of the rules for the condition.
</p>

@param ruleStates
       The state of the rules for the condition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ConditionState.java