public static interface SearchFacesResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchFacesResponse.Builder,SearchFacesResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchFacesResponse.Builder |
faceMatches(Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
|
SearchFacesResponse.Builder |
faceMatches(Consumer<FaceMatch.Builder>... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
|
SearchFacesResponse.Builder |
faceMatches(FaceMatch... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
|
SearchFacesResponse.Builder |
faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId). |
SearchFacesResponse.Builder |
searchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchFacesResponse.Builder searchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
searchedFaceId - ID of the face that was searched for matches in a collection.SearchFacesResponse.Builder faceMatches(Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
faceMatches - An array of faces that matched the input face, along with the confidence in the match.SearchFacesResponse.Builder faceMatches(FaceMatch... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
faceMatches - An array of faces that matched the input face, along with the confidence in the match.SearchFacesResponse.Builder faceMatches(Consumer<FaceMatch.Builder>... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
This is a convenience method that creates an instance of theFaceMatch.Builder avoiding the need to create one
manually via FaceMatch.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #faceMatches(List.
faceMatches - a consumer that will call methods on
FaceMatch.Builder#faceMatches(java.util.Collection) SearchFacesResponse.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).Copyright © 2023. All rights reserved.