public RuleGroupResponse withNumberOfAssociations(Integer numberOfAssociations) {
        setNumberOfAssociations(numberOfAssociations);
        return this;
    }
<p>
The number of firewall policies that use this rule group.
</p>

@param numberOfAssociations
       The number of firewall policies that use this rule group.
@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/RuleGroupResponse.java