public DescribeManagedRuleGroupResult withAvailableLabels(LabelSummary... availableLabels) {
        if (this.availableLabels == null) {
            setAvailableLabels(new java.util.ArrayList<LabelSummary>(availableLabels.length));
        }
        for (LabelSummary ele : availableLabels) {
            this.availableLabels.add(ele);
        }
        return this;
    }
<p>
The labels that one or more rules in this rule group add to matching web requests. These labels are defined in
the <code>RuleLabels</code> for a <a>Rule</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAvailableLabels(java.util.Collection)} or {@link #withAvailableLabels(java.util.Collection)} if you
want to override the existing values.
</p>

@param availableLabels
       The labels that one or more rules in this rule group add to matching web requests. These labels are
       defined in the <code>RuleLabels</code> for a <a>Rule</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/DescribeManagedRuleGroupResult.java