public static interface SearchFacesRequest.Builder extends RekognitionRequest.Builder, CopyableBuilder<SearchFacesRequest.Builder,SearchFacesRequest>
Modifier and Type | Method and Description |
---|---|
SearchFacesRequest.Builder |
collectionId(String collectionId)
ID of the collection the face belongs to.
|
SearchFacesRequest.Builder |
faceId(String faceId)
ID of a face to find matches for in the collection.
|
SearchFacesRequest.Builder |
faceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return.
|
SearchFacesRequest.Builder |
maxFaces(Integer maxFaces)
Maximum number of faces to return.
|
SearchFacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SearchFacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
SearchFacesRequest.Builder collectionId(String collectionId)
ID of the collection the face belongs to.
collectionId
- ID of the collection the face belongs to.SearchFacesRequest.Builder faceId(String faceId)
ID of a face to find matches for in the collection.
faceId
- ID of a face to find matches for in the collection.SearchFacesRequest.Builder maxFaces(Integer maxFaces)
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
maxFaces
- Maximum number of faces to return. The operation returns the maximum number of faces with the highest
confidence in the match.SearchFacesRequest.Builder faceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
faceMatchThreshold
- Optional value specifying the minimum confidence in the face match to return. For example, don't
return any matches where confidence in matches is less than 70%.SearchFacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SearchFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.