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 Summary
Modifier and TypeMethodDescriptionfaceMatches
(Collection<FaceMatch> faceMatches) Information about the faces in the input collection that match the face of a person in the video.faceMatches
(Consumer<FaceMatch.Builder>... faceMatches) Information about the faces in the input collection that match the face of a person in the video.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.person
(PersonDetail person) Information about the matched person.The time, in milliseconds from the beginning of the video, that the person was matched in the video.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 thePersonDetail.Builder
avoiding the need to create one manually viaPersonDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperson(PersonDetail)
.- Parameters:
person
- a consumer that will call methods onPersonDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 viaFaceMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofaceMatches(List<FaceMatch>)
.- Parameters:
faceMatches
- a consumer that will call methods onFaceMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-