public static interface SearchUsersByImageResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchUsersByImageResponse.Builder,SearchUsersByImageResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchUsersByImageResponse.Builder |
faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection CollectionId.
|
default SearchUsersByImageResponse.Builder |
searchedFace(Consumer<SearchedFaceDetails.Builder> searchedFace)
A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the
confidence in the bounding box, that was searched for matches.
|
SearchUsersByImageResponse.Builder |
searchedFace(SearchedFaceDetails searchedFace)
A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the
confidence in the bounding box, that was searched for matches.
|
SearchUsersByImageResponse.Builder |
unsearchedFaces(Collection<UnsearchedFace> unsearchedFaces)
List of UnsearchedFace objects.
|
SearchUsersByImageResponse.Builder |
unsearchedFaces(Consumer<UnsearchedFace.Builder>... unsearchedFaces)
List of UnsearchedFace objects.
|
SearchUsersByImageResponse.Builder |
unsearchedFaces(UnsearchedFace... unsearchedFaces)
List of UnsearchedFace objects.
|
SearchUsersByImageResponse.Builder |
userMatches(Collection<UserMatch> userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match.
|
SearchUsersByImageResponse.Builder |
userMatches(Consumer<UserMatch.Builder>... userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match.
|
SearchUsersByImageResponse.Builder |
userMatches(UserMatch... userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchUsersByImageResponse.Builder userMatches(Collection<UserMatch> userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match. The returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse action is successful.
userMatches - An array of UserID objects that matched the input face, along with the confidence in the match. The
returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse
action is successful.SearchUsersByImageResponse.Builder userMatches(UserMatch... userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match. The returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse action is successful.
userMatches - An array of UserID objects that matched the input face, along with the confidence in the match. The
returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse
action is successful.SearchUsersByImageResponse.Builder userMatches(Consumer<UserMatch.Builder>... userMatches)
An array of UserID objects that matched the input face, along with the confidence in the match. The returned structure will be empty if there are no matches. Returned if the SearchUsersByImageResponse action is successful.
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) SearchUsersByImageResponse.Builder faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection CollectionId.
faceModelVersion - Version number of the face detection model associated with the input collection CollectionId.SearchUsersByImageResponse.Builder searchedFace(SearchedFaceDetails searchedFace)
A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the confidence in the bounding box, that was searched for matches. If no valid face is detected in the image the response will contain no SearchedFace object.
searchedFace - A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the
confidence in the bounding box, that was searched for matches. If no valid face is detected in the
image the response will contain no SearchedFace object.default SearchUsersByImageResponse.Builder searchedFace(Consumer<SearchedFaceDetails.Builder> searchedFace)
A list of FaceDetail objects containing the BoundingBox for the largest face in image, as well as the confidence in the bounding box, that was searched for matches. If no valid face is detected in the image the response will contain no SearchedFace object.
This is a convenience method that creates an instance of theSearchedFaceDetails.Builder avoiding the
need to create one manually via SearchedFaceDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to searchedFace(SearchedFaceDetails).
searchedFace - a consumer that will call methods on SearchedFaceDetails.BuildersearchedFace(SearchedFaceDetails)SearchUsersByImageResponse.Builder unsearchedFaces(Collection<UnsearchedFace> unsearchedFaces)
List of UnsearchedFace objects. Contains the face details infered from the specified image but not used for search. Contains reasons that describe why a face wasn't used for Search.
unsearchedFaces - List of UnsearchedFace objects. Contains the face details infered from the specified image but not
used for search. Contains reasons that describe why a face wasn't used for Search.SearchUsersByImageResponse.Builder unsearchedFaces(UnsearchedFace... unsearchedFaces)
List of UnsearchedFace objects. Contains the face details infered from the specified image but not used for search. Contains reasons that describe why a face wasn't used for Search.
unsearchedFaces - List of UnsearchedFace objects. Contains the face details infered from the specified image but not
used for search. Contains reasons that describe why a face wasn't used for Search.SearchUsersByImageResponse.Builder unsearchedFaces(Consumer<UnsearchedFace.Builder>... unsearchedFaces)
List of UnsearchedFace objects. Contains the face details infered from the specified image but not used for search. Contains reasons that describe why a face wasn't used for Search.
This is a convenience method that creates an instance of theUnsearchedFace.Builder avoiding the need to create
one manually via UnsearchedFace.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #unsearchedFaces(List.
unsearchedFaces - a consumer that will call methods on
UnsearchedFace.Builder#unsearchedFaces(java.util.Collection) Copyright © 2023. All rights reserved.