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
Modifier and TypeMethodDescriptiondefault CompareFacesMatch.Builder
face
(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
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
-
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.Builder
avoiding the need to create one manually viaComparedFace.builder()
.When the
Consumer
completes,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:
-