public RuleGroupResponse withConsumedCapacity(Integer consumedCapacity) {
        setConsumedCapacity(consumedCapacity);
        return this;
    }
<p>
The number of capacity units currently consumed by the rule group rules.
</p>

@param consumedCapacity
       The number of capacity units currently consumed by the rule group rules.
@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