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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
SearchFacesResponse.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #faceMatches(List)
.faceMatches
- a consumer that will call methods on List.Builder
#faceMatches(List)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.