Interface CompareFacesMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>,SdkBuilder<CompareFacesMatch.Builder,CompareFacesMatch>,SdkPojo
- Enclosing class:
- CompareFacesMatch
public static interface CompareFacesMatch.Builder extends SdkPojo, CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CompareFacesMatch.Builderface(Consumer<ComparedFace.Builder> face)Provides face metadata (bounding box and confidence that the bounding box actually contains a face).CompareFacesMatch.Builderface(ComparedFace face)Provides face metadata (bounding box and confidence that the bounding box actually contains a face).CompareFacesMatch.Buildersimilarity(Float similarity)Level of confidence that the faces match.-
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 Detail
-
similarity
CompareFacesMatch.Builder similarity(Float similarity)
Level of confidence that the faces match.
- Parameters:
similarity- Level of confidence that the faces match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
CompareFacesMatch.Builder face(ComparedFace face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
- Parameters:
face- Provides face metadata (bounding box and confidence that the bounding box actually contains a face).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
default CompareFacesMatch.Builder face(Consumer<ComparedFace.Builder> face)
Provides face metadata (bounding box and confidence that the bounding box actually contains a face).
This is a convenience method that creates an instance of theComparedFace.Builderavoiding the need to create one manually viaComparedFace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toface(ComparedFace).- Parameters:
face- a consumer that will call methods onComparedFace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
face(ComparedFace)
-
-