Interface SearchUsersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchUsersResponse.Builder,,SearchUsersResponse> RekognitionResponse.Builder,SdkBuilder<SearchUsersResponse.Builder,,SearchUsersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchUsersResponse
-
Method Summary
Modifier and TypeMethodDescriptionfaceModelVersion(String faceModelVersion) Version number of the face detection model associated with the input CollectionId.default SearchUsersResponse.BuildersearchedFace(Consumer<SearchedFace.Builder> searchedFace) Contains the ID of a face that was used to search for matches in a collection.searchedFace(SearchedFace searchedFace) Contains the ID of a face that was used to search for matches in a collection.default SearchUsersResponse.BuildersearchedUser(Consumer<SearchedUser.Builder> searchedUser) Contains the ID of the UserID that was used to search for matches in a collection.searchedUser(SearchedUser searchedUser) Contains the ID of the UserID that was used to search for matches in a collection.userMatches(Collection<UserMatch> userMatches) An array of UserMatch objects that matched the input face along with the confidence in the match.userMatches(Consumer<UserMatch.Builder>... userMatches) An array of UserMatch objects that matched the input face along with the confidence in the match.userMatches(UserMatch... userMatches) An array of UserMatch objects that matched the input face along with the confidence in the match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaUserMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserMatches(List<UserMatch>).- Parameters:
userMatches- a consumer that will call methods onUserMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
faceModelVersion
Version number of the face detection model associated with the input CollectionId.
- Parameters:
faceModelVersion- Version number of the face detection model associated with the input CollectionId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchedFace
Contains the ID of a face that was used to search for matches in a collection.
- Parameters:
searchedFace- Contains the ID of a face that was used to search for matches in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaSearchedFace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchedFace(SearchedFace).- Parameters:
searchedFace- a consumer that will call methods onSearchedFace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchedUser
Contains the ID of the UserID that was used to search for matches in a collection.
- Parameters:
searchedUser- Contains the ID of the UserID that was used to search for matches in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaSearchedUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchedUser(SearchedUser).- Parameters:
searchedUser- a consumer that will call methods onSearchedUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-