public GetPersonTrackingResult withPersons(java.util.Collection<PersonDetection> persons) {
        setPersons(persons);
        return this;
    }
<p>
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An
array element will exist for each time a person's path is tracked.
</p>

@param persons
       An array of the persons detected in the video and the time(s) their path was tracked throughout the video.
       An array element will exist for each time a person's path is tracked.
@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/GetPersonTrackingResult.java