public String getType() {
        return this.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>
<note>
<p>
This setting is required for requests that do not include the <code>RuleGroupARN</code>.
</p>
</note>

@return 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> <note>
        <p>
        This setting is required for requests that do not include the <code>RuleGroupARN</code>.
        </p>
@see RuleGroupType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/UpdateRuleGroupRequest.java