public void setRuleStates(java.util.Collection<RuleState> ruleStates) {
        if (ruleStates == null) {
            this.ruleStates = null;
            return;
        }

        this.ruleStates = new java.util.ArrayList<RuleState>(ruleStates);
    }
<p>
The state of the rules for the condition.
</p>

@param ruleStates
       The state of the rules for the condition.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ConditionState.java