Interface PersonMatch.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PersonMatch.Builder,PersonMatch>, SdkBuilder<PersonMatch.Builder,PersonMatch>, SdkPojo
Enclosing class:
PersonMatch

public static interface PersonMatch.Builder extends SdkPojo, CopyableBuilder<PersonMatch.Builder,PersonMatch>
  • Method Details

    • timestamp

      PersonMatch.Builder timestamp(Long timestamp)

      The time, in milliseconds from the beginning of the video, that the person was matched in the video.

      Parameters:
      timestamp - The time, in milliseconds from the beginning of the video, that the person was matched in the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • person

      Information about the matched person.

      Parameters:
      person - Information about the matched person.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • person

      Information about the matched person.

      This is a convenience method that creates an instance of the PersonDetail.Builder avoiding the need to create one manually via PersonDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to person(PersonDetail).

      Parameters:
      person - a consumer that will call methods on PersonDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • faceMatches

      PersonMatch.Builder faceMatches(Collection<FaceMatch> faceMatches)

      Information about the faces in the input collection that match the face of a person in the video.

      Parameters:
      faceMatches - Information about the faces in the input collection that match the face of a person in the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceMatches

      PersonMatch.Builder faceMatches(FaceMatch... faceMatches)

      Information about the faces in the input collection that match the face of a person in the video.

      Parameters:
      faceMatches - Information about the faces in the input collection that match the face of a person in the video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceMatches

      PersonMatch.Builder faceMatches(Consumer<FaceMatch.Builder>... faceMatches)

      Information about the faces in the input collection that match the face of a person in the video.

      This is a convenience method that creates an instance of the FaceMatch.Builder avoiding the need to create one manually via FaceMatch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to faceMatches(List<FaceMatch>).

      Parameters:
      faceMatches - a consumer that will call methods on FaceMatch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: