public PersonDetail withIndex(Long index) {
        setIndex(index);
        return this;
    }
<p>
Identifier for the person detected person within a video. Use to keep track of the person throughout the video.
The identifier is not stored by Amazon Rekognition.
</p>

@param index
       Identifier for the person detected person within a video. Use to keep track of the person throughout the
       video. The identifier is not stored by Amazon Rekognition.
@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/PersonDetail.java