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
Modifier and TypeMethodDescriptionsimilarity
(Float similarity) Describes the UserID metadata.default UserMatch.Builder
user
(Consumer<MatchedUser.Builder> user) Confidence in the match of this UserID with the input face.user
(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 Details
-
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
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
Confidence in the match of this UserID with the input face.
This is a convenience method that creates an instance of theMatchedUser.Builder
avoiding the need to create one manually viaMatchedUser.builder()
.When the
Consumer
completes,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:
-