public static interface SearchUsersResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchUsersResponse.Builder |
faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input CollectionId.
|
default SearchUsersResponse.Builder |
searchedFace(Consumer<SearchedFace.Builder> searchedFace)
Contains the ID of a face that was used to search for matches in a collection.
|
SearchUsersResponse.Builder |
searchedFace(SearchedFace searchedFace)
Contains the ID of a face that was used to search for matches in a collection.
|
default SearchUsersResponse.Builder |
searchedUser(Consumer<SearchedUser.Builder> searchedUser)
Contains the ID of the UserID that was used to search for matches in a collection.
|
SearchUsersResponse.Builder |
searchedUser(SearchedUser searchedUser)
Contains the ID of the UserID that was used to search for matches in a collection.
|
SearchUsersResponse.Builder |
userMatches(Collection<UserMatch> userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match.
|
SearchUsersResponse.Builder |
userMatches(Consumer<UserMatch.Builder>... userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match.
|
SearchUsersResponse.Builder |
userMatches(UserMatch... userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchUsersResponse.Builder userMatches(Collection<UserMatch> userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
userMatches - An array of UserMatch objects that matched the input face along with the confidence in the match.
Array will be empty if there are no matches.SearchUsersResponse.Builder userMatches(UserMatch... userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
userMatches - An array of UserMatch objects that matched the input face along with the confidence in the match.
Array will be empty if there are no matches.SearchUsersResponse.Builder userMatches(Consumer<UserMatch.Builder>... userMatches)
An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches.
This is a convenience method that creates an instance of theUserMatch.Builder avoiding the need to create one
manually via UserMatch.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #userMatches(List.
userMatches - a consumer that will call methods on
UserMatch.Builder#userMatches(java.util.Collection) SearchUsersResponse.Builder faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input CollectionId.
faceModelVersion - Version number of the face detection model associated with the input CollectionId.SearchUsersResponse.Builder searchedFace(SearchedFace searchedFace)
Contains the ID of a face that was used to search for matches in a collection.
searchedFace - Contains the ID of a face that was used to search for matches in a collection.default SearchUsersResponse.Builder searchedFace(Consumer<SearchedFace.Builder> searchedFace)
Contains the ID of a face that was used to search for matches in a collection.
This is a convenience method that creates an instance of theSearchedFace.Builder avoiding the need
to create one manually via SearchedFace.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to searchedFace(SearchedFace).
searchedFace - a consumer that will call methods on SearchedFace.BuildersearchedFace(SearchedFace)SearchUsersResponse.Builder searchedUser(SearchedUser searchedUser)
Contains the ID of the UserID that was used to search for matches in a collection.
searchedUser - Contains the ID of the UserID that was used to search for matches in a collection.default SearchUsersResponse.Builder searchedUser(Consumer<SearchedUser.Builder> searchedUser)
Contains the ID of the UserID that was used to search for matches in a collection.
This is a convenience method that creates an instance of theSearchedUser.Builder avoiding the need
to create one manually via SearchedUser.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to searchedUser(SearchedUser).
searchedUser - a consumer that will call methods on SearchedUser.BuildersearchedUser(SearchedUser)Copyright © 2023. All rights reserved.