@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Face extends Object implements Serializable, Cloneable, StructuredPojo
Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.
Constructor and Description |
---|
Face() |
Modifier and Type | Method and Description |
---|---|
Face |
clone() |
boolean |
equals(Object obj) |
BoundingBox |
getBoundingBox()
Bounding box of the face.
|
Float |
getConfidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
String |
getExternalImageId()
Identifier that you assign to all the faces in the input image.
|
String |
getFaceId()
Unique identifier that Amazon Rekognition assigns to the face.
|
String |
getImageId()
Unique identifier that Amazon Rekognition assigns to the input image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
void |
setConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
void |
setExternalImageId(String externalImageId)
Identifier that you assign to all the faces in the input image.
|
void |
setFaceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
|
void |
setImageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Face |
withBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
Face |
withConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
Face |
withExternalImageId(String externalImageId)
Identifier that you assign to all the faces in the input image.
|
Face |
withFaceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
|
Face |
withImageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
|
public void setFaceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
faceId
- Unique identifier that Amazon Rekognition assigns to the face.public String getFaceId()
Unique identifier that Amazon Rekognition assigns to the face.
public Face withFaceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
faceId
- Unique identifier that Amazon Rekognition assigns to the face.public void setBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.public BoundingBox getBoundingBox()
Bounding box of the face.
public Face withBoundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.public void setImageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
imageId
- Unique identifier that Amazon Rekognition assigns to the input image.public String getImageId()
Unique identifier that Amazon Rekognition assigns to the input image.
public Face withImageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
imageId
- Unique identifier that Amazon Rekognition assigns to the input image.public void setExternalImageId(String externalImageId)
Identifier that you assign to all the faces in the input image.
externalImageId
- Identifier that you assign to all the faces in the input image.public String getExternalImageId()
Identifier that you assign to all the faces in the input image.
public Face withExternalImageId(String externalImageId)
Identifier that you assign to all the faces in the input image.
externalImageId
- Identifier that you assign to all the faces in the input image.public void setConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
confidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).public Float getConfidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
public Face withConfidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
confidence
- Confidence level that the bounding box contains a face (and not a different object such as a tree).public String toString()
toString
in class Object
Object.toString()
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.