public static interface SearchFacesResponse.Builder extends RekognitionResponse.Builder, 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 |
searchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
build
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.