public RuleGroup getRuleGroup() {
        return this.ruleGroup;
    }
<p>
An object that defines the rule group rules.
</p>
<note>
<p>
You must provide either this rule group setting or a <code>Rules</code> setting, but not both.
</p>
</note>

@return An object that defines the rule group rules. </p> <note>
        <p>
        You must provide either this rule group setting or a <code>Rules</code> setting, but not both.
        </p>
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/UpdateRuleGroupRequest.java