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