Interface ComparedSourceImageFace.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComparedSourceImageFace.Builder,
,ComparedSourceImageFace> SdkBuilder<ComparedSourceImageFace.Builder,
,ComparedSourceImageFace> SdkPojo
- Enclosing class:
ComparedSourceImageFace
public static interface ComparedSourceImageFace.Builder
extends SdkPojo, CopyableBuilder<ComparedSourceImageFace.Builder,ComparedSourceImageFace>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ComparedSourceImageFace.Builder
boundingBox
(Consumer<BoundingBox.Builder> boundingBox) Bounding box of the face.boundingBox
(BoundingBox boundingBox) Bounding box of the face.confidence
(Float confidence) Confidence level that the selected bounding box contains a face.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
boundingBox
Bounding box of the face.
- Parameters:
boundingBox
- Bounding box of the face.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaBoundingBox.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toboundingBox(BoundingBox)
.- Parameters:
boundingBox
- a consumer that will call methods onBoundingBox.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
Confidence level that the selected bounding box contains a face.
- Parameters:
confidence
- Confidence level that the selected bounding box contains a face.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-