Interface FaceMatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FaceMatch.Builder,
,FaceMatch> SdkBuilder<FaceMatch.Builder,
,FaceMatch> SdkPojo
- Enclosing class:
FaceMatch
public static interface FaceMatch.Builder
extends SdkPojo, CopyableBuilder<FaceMatch.Builder,FaceMatch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FaceMatch.Builder
face
(Consumer<Face.Builder> face) Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.similarity
(Float similarity) Confidence in the match of this face with the input 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
-
similarity
Confidence in the match of this face with the input face.
- Parameters:
similarity
- Confidence in the match of this face with the input face.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
- Parameters:
face
- Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
face
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
This is a convenience method that creates an instance of theFace.Builder
avoiding the need to create one manually viaFace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toface(Face)
.- Parameters:
face
- a consumer that will call methods onFace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-