public Label withParents(java.util.Collection<Parent> parents) {
        setParents(parents);
        return this;
    }
<p>
The parent labels for a label. The response includes all ancestor labels.
</p>

@param parents
       The parent labels for a label. The response includes all ancestor labels.
@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