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