public ListLabelsResult withLabelSummaries(LabelSummary... labelSummaries) {
        if (this.labelSummaries == null) {
            setLabelSummaries(new java.util.ArrayList<LabelSummary>(labelSummaries.length));
        }
        for (LabelSummary ele : labelSummaries) {
            this.labelSummaries.add(ele);
        }
        return this;
    }
<p>
A summary of the items in the label group.
</p>
<note>
<p>
If you don't supply the <code>LabelGroupName</code> request parameter, or if you supply the name of a label group
that doesn't exist, <code>ListLabels</code> returns an empty array in <code>LabelSummaries</code>.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLabelSummaries(java.util.Collection)} or {@link #withLabelSummaries(java.util.Collection)} if you want
to override the existing values.
</p>

@param labelSummaries
       A summary of the items in the label group. </p> <note>
       <p>
       If you don't supply the <code>LabelGroupName</code> request parameter, or if you supply the name of a
       label group that doesn't exist, <code>ListLabels</code> returns an empty array in
       <code>LabelSummaries</code>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/ListLabelsResult.java