CopyableBuilder<SearchFacesResponse.Builder,SearchFacesResponse>
, SdkBuilder<SearchFacesResponse.Builder,SearchFacesResponse>
public static interface SearchFacesResponse.Builder extends CopyableBuilder<SearchFacesResponse.Builder,SearchFacesResponse>
Modifier and Type | Method | 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(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.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setFaceMatches(java.util.Collection)
or #withFaceMatches(java.util.Collection)
if you want
to override the existing values.
faceMatches
- An array of faces that matched the input face, along with the confidence in the match.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.