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

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

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