@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CelebrityRecognition extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
CelebrityRecognition |
clone() |
boolean |
equals(Object obj) |
CelebrityDetail |
getCelebrity()
Information about a recognized celebrity.
|
Long |
getTimestamp()
The time, in milliseconds from the start of the video, that the celebrity was recognized.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
|
void |
setTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized.
|
String |
toString()
Returns a string representation of this object.
|
CelebrityRecognition |
withCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
|
CelebrityRecognition |
withTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized.
|
public void setTimestamp(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 Long getTimestamp()
The time, in milliseconds from the start of the video, that the celebrity was recognized.
public CelebrityRecognition withTimestamp(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 void setCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
celebrity
- Information about a recognized celebrity.public CelebrityDetail getCelebrity()
Information about a recognized celebrity.
public CelebrityRecognition withCelebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
celebrity
- Information about a recognized celebrity.public String toString()
toString
in class Object
Object.toString()
public CelebrityRecognition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.