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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FaceMatch.Builderface(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.FaceMatch.Builderface(Face 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.FaceMatch.Buildersimilarity(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
similarity
FaceMatch.Builder similarity(Float 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
FaceMatch.Builder face(Face 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
default 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.
This is a convenience method that creates an instance of theFace.Builderavoiding the need to create one manually viaFace.builder().When the
Consumercompletes,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:
face(Face)
-
-