public void setStatefulRules(java.util.Collection<StatefulRule> statefulRules) {
        if (statefulRules == null) {
            this.statefulRules = null;
            return;
        }

        this.statefulRules = new java.util.ArrayList<StatefulRule>(statefulRules);
    }
<p>
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this
option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule
options. For information about the Suricata <code>Rules</code> format, see <a
href="https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html">Rules Format</a>.
</p>

@param statefulRules
       An array of individual stateful rules inspection criteria to be used together in a stateful rule group.
       Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction,
       and rule options. For information about the Suricata <code>Rules</code> format, see <a
       href="https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html">Rules Format</a>.
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RulesSource.java