public static interface ComparedSourceImageFace.Builder extends CopyableBuilder<ComparedSourceImageFace.Builder,ComparedSourceImageFace>
Modifier and Type | Method and Description |
---|---|
ComparedSourceImageFace.Builder |
boundingBox(BoundingBox boundingBox)
Bounding box of the face.
|
default ComparedSourceImageFace.Builder |
boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
|
ComparedSourceImageFace.Builder |
confidence(Float confidence)
Confidence level that the selected bounding box contains a face.
|
copy
applyMutation, build
ComparedSourceImageFace.Builder boundingBox(BoundingBox boundingBox)
Bounding box of the face.
boundingBox
- Bounding box of the face.default ComparedSourceImageFace.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)
ComparedSourceImageFace.Builder confidence(Float confidence)
Confidence level that the selected bounding box contains a face.
confidence
- Confidence level that the selected bounding box contains a face.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.