public static interface SearchFacesByImageResponse.Builder extends RekognitionResponse.Builder, 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 |
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
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.