@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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Face.Builder,Face>
public static Face.Builder builder()
public static Class<? extends Face.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.