public static interface Face.Builder extends 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.
|
copy
applyMutation, build
Face.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 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.Builder
boundingBox(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).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.