CopyableBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>
, SdkBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>
public static interface SearchFacesByImageResponse.Builder extends CopyableBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>
Modifier and Type | Method | Description |
---|---|---|
SearchFacesByImageResponse.Builder |
faceMatches(Collection<FaceMatch> faceMatches) |
An array of faces that match the input face, along with the confidence in the match.
|
SearchFacesByImageResponse.Builder |
faceMatches(FaceMatch... faceMatches) |
An array of faces that match the input face, along with the confidence in the match.
|
SearchFacesByImageResponse.Builder |
searchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox) |
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
SearchFacesByImageResponse.Builder |
searchedFaceConfidence(Float searchedFaceConfidence) |
The level of confidence that the
searchedFaceBoundingBox , contains a face. |
copy
apply, build
SearchFacesByImageResponse.Builder searchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
searchedFaceBoundingBox
- The bounding box around the face in the input image that Amazon Rekognition used for the search.SearchFacesByImageResponse.Builder searchedFaceConfidence(Float searchedFaceConfidence)
The level of confidence that the searchedFaceBoundingBox
, contains a face.
searchedFaceConfidence
- The level of confidence that the searchedFaceBoundingBox
, contains a face.SearchFacesByImageResponse.Builder faceMatches(Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.SearchFacesByImageResponse.Builder faceMatches(FaceMatch... faceMatches)
An array of faces that match 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 match the input face, along with the confidence in the match.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.