@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PersonDetection extends Object implements Serializable, Cloneable, StructuredPojo
Details and tracking information for a single time a person is tracked in a video. Amazon Rekognition operations that
track persons return an array of PersonDetection
objects with elements for each time a person is tracked
in a video. For more information, see .
Constructor and Description |
---|
PersonDetection() |
Modifier and Type | Method and Description |
---|---|
PersonDetection |
clone() |
boolean |
equals(Object obj) |
PersonDetail |
getPerson()
Details about a person tracked in a video.
|
Long |
getTimestamp()
The time, in milliseconds from the start of the video, that the person was tracked.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPerson(PersonDetail person)
Details about a person tracked in a video.
|
void |
setTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the person was tracked.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PersonDetection |
withPerson(PersonDetail person)
Details about a person tracked in a video.
|
PersonDetection |
withTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the person was tracked.
|
public void setTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the person was tracked.
timestamp
- The time, in milliseconds from the start of the video, that the person was tracked.public Long getTimestamp()
The time, in milliseconds from the start of the video, that the person was tracked.
public PersonDetection withTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the person was tracked.
timestamp
- The time, in milliseconds from the start of the video, that the person was tracked.public void setPerson(PersonDetail person)
Details about a person tracked in a video.
person
- Details about a person tracked in a video.public PersonDetail getPerson()
Details about a person tracked in a video.
public PersonDetection withPerson(PersonDetail person)
Details about a person tracked in a video.
person
- Details about a person tracked in a video.public String toString()
toString
in class Object
Object.toString()
public PersonDetection 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.