public void setRules(java.util.Collection<AwsWafRegionalRuleGroupRulesDetails> rules) {
        if (rules == null) {
            this.rules = null;
            return;
        }

        this.rules = new java.util.ArrayList<AwsWafRegionalRuleGroupRulesDetails>(rules);
    }
<p>
Provides information about the rule statements used to identify the web requests that you want to allow, block,
or count.
</p>

@param rules
       Provides information about the rule statements used to identify the web requests that you want to allow,
       block, or count.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafRegionalRuleGroupDetails.java