public static interface Face.Builder extends SdkPojo, CopyableBuilder<Face.Builder,Face>
| Modifier and Type | Method and Description |
|---|---|
Face.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
default Face.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
|
Face.Builder |
confidence(Float confidence)
Confidence level that the bounding box contains a face (and not a different object such as a tree).
|
Face.Builder |
externalImageId(String externalImageId)
Identifier that you assign to all the faces in the input image.
|
Face.Builder |
faceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
|
Face.Builder |
imageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
|
Face.Builder |
indexFacesModelVersion(String indexFacesModelVersion)
The version of the face detect and storage model that was used when indexing the face vector.
|
Face.Builder |
userId(String userId)
Unique identifier assigned to the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFace.Builder faceId(String faceId)
Unique identifier that Amazon Rekognition assigns to the face.
faceId - Unique identifier that Amazon Rekognition assigns to the face.Face.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox - Bounding box of the face.default Face.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
This is a convenience method that creates an instance of theBoundingBox.Builder avoiding the need to
create one manually via BoundingBox.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to boundingBox(BoundingBox).
boundingBox - a consumer that will call methods on BoundingBox.BuilderboundingBox(BoundingBox)Face.Builder imageId(String imageId)
Unique identifier that Amazon Rekognition assigns to the input image.
imageId - Unique identifier that Amazon Rekognition assigns to the input image.Face.Builder externalImageId(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.Face.Builder confidence(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).Face.Builder indexFacesModelVersion(String indexFacesModelVersion)
The version of the face detect and storage model that was used when indexing the face vector.
indexFacesModelVersion - The version of the face detect and storage model that was used when indexing the face vector.Face.Builder userId(String userId)
Unique identifier assigned to the user.
userId - Unique identifier assigned to the user.Copyright © 2023. All rights reserved.