public void setLabels(java.util.Collection<LabelDetection> labels) {
        if (labels == null) {
            this.labels = null;
            return;
        }

        this.labels = new java.util.ArrayList<LabelDetection>(labels);
    }
<p>
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds
from the start of the video, that the label was detected.
</p>

@param labels
       An array of labels detected in the video. Each element contains the detected label and the time, in
       milliseconds from the start of the video, that the label was detected.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java