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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.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 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.Builder
searchedFaceBoundingBox(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 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)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.