public class PersonMatch
extends java.lang.Object
implements java.io.Serializable
 Information about a person whose face matches a face(s) in an Amazon
 Rekognition collection. Includes information about the faces in the Amazon
 Rekognition collection (FaceMatch), information about the person
 (PersonDetail), and the time stamp for when the person was detected in
 a video. An array of PersonMatch objects is returned by
 GetFaceSearch.
 
| Constructor and Description | 
|---|
PersonMatch()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.util.List<FaceMatch> | 
getFaceMatches()
 Information about the faces in the input collection that match the face
 of a person in the video. 
 | 
PersonDetail | 
getPerson()
 Information about the matched person. 
 | 
java.lang.Long | 
getTimestamp()
 The time, in milliseconds from the beginning of the video, that the
 person was matched in the video. 
 | 
int | 
hashCode()  | 
void | 
setFaceMatches(java.util.Collection<FaceMatch> faceMatches)
 Information about the faces in the input collection that match the face
 of a person in the video. 
 | 
void | 
setPerson(PersonDetail person)
 Information about the matched person. 
 | 
void | 
setTimestamp(java.lang.Long timestamp)
 The time, in milliseconds from the beginning of the video, that the
 person was matched in the video. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
PersonMatch | 
withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
 Information about the faces in the input collection that match the face
 of a person in the video. 
 | 
PersonMatch | 
withFaceMatches(FaceMatch... faceMatches)
 Information about the faces in the input collection that match the face
 of a person in the video. 
 | 
PersonMatch | 
withPerson(PersonDetail person)
 Information about the matched person. 
 | 
PersonMatch | 
withTimestamp(java.lang.Long timestamp)
 The time, in milliseconds from the beginning of the video, that the
 person was matched in the video. 
 | 
public java.lang.Long getTimestamp()
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
public void setTimestamp(java.lang.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.
public PersonMatch withTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the beginning of the video, that the person was matched in the video.
Returns a reference to this object so that method calls can be chained together.
timestamp - The time, in milliseconds from the beginning of the video, that the person was matched in the video.
public PersonDetail getPerson()
Information about the matched person.
Information about the matched person.
public void setPerson(PersonDetail person)
Information about the matched person.
person - Information about the matched person.
public PersonMatch withPerson(PersonDetail person)
Information about the matched person.
Returns a reference to this object so that method calls can be chained together.
person - Information about the matched person.
public java.util.List<FaceMatch> getFaceMatches()
Information about the faces in the input collection that match the face of a person in the video.
Information about the faces in the input collection that match the face of a person in the video.
public void setFaceMatches(java.util.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.
public PersonMatch withFaceMatches(FaceMatch... faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
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.
public PersonMatch withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
Information about the faces in the input collection that match the face of a person in the video.
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.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.