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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PersonMatch.BuilderfaceMatches(Collection<FaceMatch> faceMatches)Information about the faces in the input collection that match the face of a person in the video.PersonMatch.BuilderfaceMatches(Consumer<FaceMatch.Builder>... faceMatches)Information about the faces in the input collection that match the face of a person in the video.PersonMatch.BuilderfaceMatches(FaceMatch... faceMatches)Information about the faces in the input collection that match the face of a person in the video.default PersonMatch.Builderperson(Consumer<PersonDetail.Builder> person)Information about the matched person.PersonMatch.Builderperson(PersonDetail person)Information about the matched person.PersonMatch.Buildertimestamp(Long timestamp)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 Detail
-
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
PersonMatch.Builder person(PersonDetail 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
default PersonMatch.Builder person(Consumer<PersonDetail.Builder> person)
Information about the matched person.
This is a convenience method that creates an instance of thePersonDetail.Builderavoiding the need to create one manually viaPersonDetail.builder().When the
Consumercompletes,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:
person(PersonDetail)
-
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 theFaceMatch.Builderavoiding the need to create one manually viaFaceMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#faceMatches(List.) - 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:
#faceMatches(java.util.Collection)
-
-