Interface GetPersonTrackingResponse.Builder

    • Method Detail

      • statusMessage

        GetPersonTrackingResponse.Builder statusMessage​(String statusMessage)

        If the job fails, StatusMessage provides a descriptive error message.

        Parameters:
        statusMessage - If the job fails, StatusMessage provides a descriptive error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • videoMetadata

        GetPersonTrackingResponse.Builder videoMetadata​(VideoMetadata videoMetadata)

        Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.

        Parameters:
        videoMetadata - Information about a video that Amazon Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition Video operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetPersonTrackingResponse.Builder nextToken​(String nextToken)

        If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of persons.

        Parameters:
        nextToken - If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of persons.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • persons

        GetPersonTrackingResponse.Builder persons​(Collection<PersonDetection> 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • persons

        GetPersonTrackingResponse.Builder persons​(PersonDetection... 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        GetPersonTrackingResponse.Builder jobId​(String jobId)

        Job identifier for the person tracking operation for which you want to obtain results. The job identifer is returned by an initial call to StartPersonTracking.

        Parameters:
        jobId - Job identifier for the person tracking operation for which you want to obtain results. The job identifer is returned by an initial call to StartPersonTracking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • video

        GetPersonTrackingResponse.Builder video​(Video video)
        Sets the value of the Video property for this object.
        Parameters:
        video - The new value for the Video property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobTag

        GetPersonTrackingResponse.Builder jobTag​(String jobTag)

        A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic.

        Parameters:
        jobTag - A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.