Interface SearchUsersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>,RekognitionResponse.Builder,SdkBuilder<SearchUsersResponse.Builder,SearchUsersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchUsersResponse
public static interface SearchUsersResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersResponse.Builder,SearchUsersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchUsersResponse.BuilderfaceModelVersion(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.SearchUsersResponse.BuildersearchedFace(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.SearchUsersResponse.BuildersearchedUser(SearchedUser searchedUser)Contains the ID of the UserID that was used to search for matches in a collection.SearchUsersResponse.BuilderuserMatches(Collection<UserMatch> userMatches)An array of UserMatch objects that matched the input face along with the confidence in the match.SearchUsersResponse.BuilderuserMatches(Consumer<UserMatch.Builder>... userMatches)An array of UserMatch objects that matched the input face along with the confidence in the match.SearchUsersResponse.BuilderuserMatches(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userMatches
SearchUsersResponse.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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaUserMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userMatches(List.) - 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:
#userMatches(java.util.Collection)
-
faceModelVersion
SearchUsersResponse.Builder faceModelVersion(String 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
SearchUsersResponse.Builder searchedFace(SearchedFace 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
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.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:
searchedFace(SearchedFace)
-
searchedUser
SearchUsersResponse.Builder searchedUser(SearchedUser 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
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.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:
searchedUser(SearchedUser)
-
-