public AwsWafRegionalWebAclDetails withRulesList(AwsWafRegionalWebAclRulesListDetails... rulesList) {
        if (this.rulesList == null) {
            setRulesList(new java.util.ArrayList<AwsWafRegionalWebAclRulesListDetails>(rulesList.length));
        }
        for (AwsWafRegionalWebAclRulesListDetails ele : rulesList) {
            this.rulesList.add(ele);
        }
        return this;
    }
<p>
An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRulesList(java.util.Collection)} or {@link #withRulesList(java.util.Collection)} if you want to
override the existing values.
</p>

@param rulesList
       An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the
       rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafRegionalWebAclDetails.java