public Label withCategories(java.util.Collection<LabelCategory> categories) {
        setCategories(categories);
        return this;
    }
<p>
A list of the categories associated with a given label.
</p>

@param categories
       A list of the categories associated with a given label.
@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/Label.java