public StatefulRule withHeader(Header header) {
        setHeader(header);
        return this;
    }
<p>
The stateful inspection criteria for this rule, used to inspect traffic flows.
</p>

@param header
       The stateful inspection criteria for this rule, used to inspect traffic flows.
@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/StatefulRule.java