Interface UserMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserMatch.Builder,UserMatch>,SdkBuilder<UserMatch.Builder,UserMatch>,SdkPojo
- Enclosing class:
- UserMatch
public static interface UserMatch.Builder extends SdkPojo, CopyableBuilder<UserMatch.Builder,UserMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserMatch.Buildersimilarity(Float similarity)Describes the UserID metadata.default UserMatch.Builderuser(Consumer<MatchedUser.Builder> user)Confidence in the match of this UserID with the input face.UserMatch.Builderuser(MatchedUser user)Confidence in the match of this UserID 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 Detail
-
similarity
UserMatch.Builder similarity(Float similarity)
Describes the UserID metadata.
- Parameters:
similarity- Describes the UserID metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
UserMatch.Builder user(MatchedUser user)
Confidence in the match of this UserID with the input face.
- Parameters:
user- Confidence in the match of this UserID with the input face.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
default UserMatch.Builder user(Consumer<MatchedUser.Builder> user)
Confidence in the match of this UserID with the input face.
This is a convenience method that creates an instance of theMatchedUser.Builderavoiding the need to create one manually viaMatchedUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(MatchedUser).- Parameters:
user- a consumer that will call methods onMatchedUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
user(MatchedUser)
-
-