public static interface PersonMatch.Builder extends SdkPojo, CopyableBuilder<PersonMatch.Builder,PersonMatch>
| Modifier and Type | Method and Description |
|---|---|
PersonMatch.Builder |
faceMatches(Collection<FaceMatch> faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
|
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.
|
PersonMatch.Builder |
faceMatches(FaceMatch... faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
|
default PersonMatch.Builder |
person(Consumer<PersonDetail.Builder> person)
Information about the matched person.
|
PersonMatch.Builder |
person(PersonDetail person)
Information about the matched person.
|
PersonMatch.Builder |
timestamp(Long timestamp)
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPersonMatch.Builder timestamp(Long timestamp)
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
timestamp - The time, in milliseconds from the beginning of the video, that the person was matched in the video.PersonMatch.Builder person(PersonDetail person)
Information about the matched person.
person - Information about the matched person.default PersonMatch.Builder person(Consumer<PersonDetail.Builder> person)
Information about the matched person.
This is a convenience method that creates an instance of thePersonDetail.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).
person - a consumer that will call methods on PersonDetail.Builderperson(PersonDetail)PersonMatch.Builder faceMatches(Collection<FaceMatch> faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
faceMatches - Information about the faces in the input collection that match the face of a person in the video.PersonMatch.Builder faceMatches(FaceMatch... faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
faceMatches - Information about the faces in the input collection that match the face of a person in the video.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 theFaceMatch.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.
faceMatches - a consumer that will call methods on
FaceMatch.Builder#faceMatches(java.util.Collection) Copyright © 2023. All rights reserved.