public void setCategories(java.util.Collection<LabelCategory> categories) {
        if (categories == null) {
            this.categories = null;
            return;
        }

        this.categories = new java.util.ArrayList<LabelCategory>(categories);
    }
<p>
A list of the categories associated with a given label.
</p>

@param categories
       A list of the categories associated with a given label.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/Label.java