public ListDatasetEntriesRequest withContainsLabels(String... containsLabels) {
        if (this.containsLabels == null) {
            setContainsLabels(new java.util.ArrayList<String>(containsLabels.length));
        }
        for (String ele : containsLabels) {
            this.containsLabels.add(ele);
        }
        return this;
    }
<p>
Specifies a label filter for the response. The response includes an entry only if one or more of the labels in
<code>ContainsLabels</code> exist in the entry.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setContainsLabels(java.util.Collection)} or {@link #withContainsLabels(java.util.Collection)} if you want
to override the existing values.
</p>

@param containsLabels
       Specifies a label filter for the response. The response includes an entry only if one or more of the
       labels in <code>ContainsLabels</code> exist in the entry.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/ListDatasetEntriesRequest.java