StructuredPojo
, ToCopyableBuilder<Face.Builder,Face>
@Generated("software.amazon.awssdk:codegen") public class Face extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
Face.Builder |
Modifier and Type | Method | 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.
|
int |
hashCode() |
|
String |
imageId() |
Unique identifier that Amazon Rekognition assigns to the input image.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.