public static interface SearchFacesByImageResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>
| Modifier and Type | Method and 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(Consumer<FaceMatch.Builder>... 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 |
faceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId). |
SearchFacesByImageResponse.Builder |
searchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
default SearchFacesByImageResponse.Builder |
searchedFaceBoundingBox(Consumer<BoundingBox.Builder> 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. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchFacesByImageResponse.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.default SearchFacesByImageResponse.Builder searchedFaceBoundingBox(Consumer<BoundingBox.Builder> searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
This is a convenience method that creates an instance of theBoundingBox.Builder avoiding the need to
create one manually via BoundingBox.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to searchedFaceBoundingBox(BoundingBox).
searchedFaceBoundingBox - a consumer that will call methods on BoundingBox.BuildersearchedFaceBoundingBox(BoundingBox)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.
faceMatches - An array of faces that match the input face, along with the confidence in the match.SearchFacesByImageResponse.Builder faceMatches(Consumer<FaceMatch.Builder>... faceMatches)
An array of faces that match 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) SearchFacesByImageResponse.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.