@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceDetection extends Object implements Serializable, Cloneable, StructuredPojo
Information about a face detected in a video analysis request and the time the face was detected in the video.
Constructor and Description |
---|
FaceDetection() |
Modifier and Type | Method and Description |
---|---|
FaceDetection |
clone() |
boolean |
equals(Object obj) |
FaceDetail |
getFace()
The face properties for the detected face.
|
Long |
getTimestamp()
Time, in milliseconds from the start of the video, that the face was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFace(FaceDetail face)
The face properties for the detected face.
|
void |
setTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
|
String |
toString()
Returns a string representation of this object.
|
FaceDetection |
withFace(FaceDetail face)
The face properties for the detected face.
|
FaceDetection |
withTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
|
public void setTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
timestamp
- Time, in milliseconds from the start of the video, that the face was detected.public Long getTimestamp()
Time, in milliseconds from the start of the video, that the face was detected.
public FaceDetection withTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the face was detected.
timestamp
- Time, in milliseconds from the start of the video, that the face was detected.public void setFace(FaceDetail face)
The face properties for the detected face.
face
- The face properties for the detected face.public FaceDetail getFace()
The face properties for the detected face.
public FaceDetection withFace(FaceDetail face)
The face properties for the detected face.
face
- The face properties for the detected face.public String toString()
toString
in class Object
Object.toString()
public FaceDetection 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.