Interface CompareFacesMatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CompareFacesMatch.Builder,,CompareFacesMatch> SdkBuilder<CompareFacesMatch.Builder,,CompareFacesMatch> SdkPojo
- Enclosing class:
CompareFacesMatch
@Mutable
@NotThreadSafe
public static interface CompareFacesMatch.Builder
extends SdkPojo, CopyableBuilder<CompareFacesMatch.Builder,CompareFacesMatch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompareFacesMatch.Builderface(Consumer<ComparedFace.Builder> face) Provides face metadata (bounding box and confidence that the bounding box actually contains a face).face(ComparedFace face) Provides face metadata (bounding box and confidence that the bounding box actually contains a face).similarity(Float similarity) Level of confidence that the faces match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-