public FirewallPolicy withStatefulRuleGroupReferences(java.util.Collection<StatefulRuleGroupReference> statefulRuleGroupReferences) {
        setStatefulRuleGroupReferences(statefulRuleGroupReferences);
        return this;
    }
<p>
References to the stateful rule groups that are used in the policy. These define the inspection criteria in
stateful rules.
</p>

@param statefulRuleGroupReferences
       References to the stateful rule groups that are used in the policy. These define the inspection criteria
       in stateful rules.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/FirewallPolicy.java