public class CelebrityRecognition
extends java.lang.Object
implements java.io.Serializable
Information about a detected celebrity and the time the celebrity was detected in a stored video. For more information, see GetCelebrityRecognition in the Amazon Rekognition Developer Guide.
| Constructor and Description |
|---|
CelebrityRecognition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
CelebrityDetail |
getCelebrity()
Information about a recognized celebrity.
|
java.lang.Long |
getTimestamp()
The time, in milliseconds from the start of the video, that the celebrity
was recognized.
|
int |
hashCode() |
void |
setCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
|
void |
setTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity
was recognized.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CelebrityRecognition |
withCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
|
CelebrityRecognition |
withTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity
was recognized.
|
public java.lang.Long getTimestamp()
The time, in milliseconds from the start of the video, that the celebrity was recognized.
The time, in milliseconds from the start of the video, that the celebrity was recognized.
public void setTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized.
timestamp - The time, in milliseconds from the start of the video, that the celebrity was recognized.
public CelebrityRecognition withTimestamp(java.lang.Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized.
Returns a reference to this object so that method calls can be chained together.
timestamp - The time, in milliseconds from the start of the video, that the celebrity was recognized.
public CelebrityDetail getCelebrity()
Information about a recognized celebrity.
Information about a recognized celebrity.
public void setCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
celebrity - Information about a recognized celebrity.
public CelebrityRecognition withCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
Returns a reference to this object so that method calls can be chained together.
celebrity - Information about a recognized celebrity.
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.