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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComparedSourceImageFace.BuilderboundingBox(Consumer<BoundingBox.Builder> boundingBox)Bounding box of the face.ComparedSourceImageFace.BuilderboundingBox(BoundingBox boundingBox)Bounding box of the face.ComparedSourceImageFace.Builderconfidence(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
boundingBox
ComparedSourceImageFace.Builder boundingBox(BoundingBox 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
default ComparedSourceImageFace.Builder boundingBox(Consumer<BoundingBox.Builder> boundingBox)
Bounding box of the face.
This is a convenience method that creates an instance of theBoundingBox.Builderavoiding the need to create one manually viaBoundingBox.builder().When the
Consumercompletes,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:
boundingBox(BoundingBox)
-
confidence
ComparedSourceImageFace.Builder confidence(Float 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.
-
-