public void setRuleGroup(RuleGroup ruleGroup) {
        this.ruleGroup = 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>

@param ruleGroup
       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