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.
|
copy
applyMutation, build
PersonMatch.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 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.Builder
person(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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #faceMatches(List)
.faceMatches
- a consumer that will call methods on List.Builder
#faceMatches(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.