public AwsWafRuleGroupDetails withRules(java.util.Collection<AwsWafRuleGroupRulesDetails> rules) {
        setRules(rules);
        return this;
    }
<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.
@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/AwsWafRuleGroupDetails.java