@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceRecord extends Object implements Serializable, Cloneable, StructuredPojo
Object containing both the face metadata (stored in the back-end database) and facial attributes that are detected but aren't stored in the database.
Constructor and Description |
---|
FaceRecord() |
Modifier and Type | Method and Description |
---|---|
FaceRecord |
clone() |
boolean |
equals(Object obj) |
Face |
getFace()
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image
ID that you assigned.
|
FaceDetail |
getFaceDetail()
Structure containing attributes of the face that the algorithm detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image
ID that you assigned.
|
void |
setFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FaceRecord |
withFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image
ID that you assigned.
|
FaceRecord |
withFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
|
public void setFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
face
- Describes the face properties such as the bounding box, face ID, image ID of the input image, and external
image ID that you assigned.public Face getFace()
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
public FaceRecord withFace(Face face)
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
face
- Describes the face properties such as the bounding box, face ID, image ID of the input image, and external
image ID that you assigned.public void setFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
faceDetail
- Structure containing attributes of the face that the algorithm detected.public FaceDetail getFaceDetail()
Structure containing attributes of the face that the algorithm detected.
public FaceRecord withFaceDetail(FaceDetail faceDetail)
Structure containing attributes of the face that the algorithm detected.
faceDetail
- Structure containing attributes of the face that the algorithm detected.public String toString()
toString
in class Object
Object.toString()
public FaceRecord 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.