@Generated(value="software.amazon.awssdk:codegen") public final class Face extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Face.Builder,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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Face.Builder |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
boundingBox()
Bounding box of the face.
|
static Face.Builder |
builder() |
Float |
confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
boolean |
equals(Object obj) |
String |
externalImageId()
Identifier that you assign to all the faces in the input image.
|
String |
faceId()
Unique identifier that Amazon Rekognition assigns to the face.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageId()
Unique identifier that Amazon Rekognition assigns to the input image.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Face.Builder> |
serializableBuilderClass() |
Face.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String faceId()
Unique identifier that Amazon Rekognition assigns to the face.
public BoundingBox boundingBox()
Bounding box of the face.
public String imageId()
Unique identifier that Amazon Rekognition assigns to the input image.
public String externalImageId()
Identifier that you assign to all the faces in the input image.
public Float confidence()
Confidence level that the bounding box contains a face (and not a different object such as a tree).
public Face.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Face.Builder,Face>public static Face.Builder builder()
public static Class<? extends Face.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.