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 Details

    • 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

      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 the MatchedUser.Builder avoiding the need to create one manually via MatchedUser.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to user(MatchedUser).

      Parameters:
      user - a consumer that will call methods on MatchedUser.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: