public void setType(String type) {
        this.type = type;
    }
<p>
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless
rules. If it is stateful, it contains stateful rules.
</p>

@param type
       Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
       stateless rules. If it is stateful, it contains stateful rules.
@see RuleGroupType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RuleGroupResponse.java