public void setRuleNames(java.util.Collection<String> ruleNames) {
        if (ruleNames == null) {
            this.ruleNames = null;
            return;
        }

        this.ruleNames = new com.amazonaws.internal.SdkInternalList<String>(ruleNames);
    }
public void setRuleNames ( java . util . Collection < String > ruleNames ) { if ( ruleNames == null ) { this . ruleNames = null ; return ; } this . ruleNames = new com . amazonaws . internal . SdkInternalList < String > ( ruleNames ) ; }
<p>
A list of the specified receipt rule set's receipt rules in the order that you want to put them.
</p>

@param ruleNames
A list of the specified receipt rule set's receipt rules in the order that you want to put them.