public static interface CompareFacesRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CompareFacesRequest.Builder,CompareFacesRequest>
| Modifier and Type | Method and Description |
|---|---|
CompareFacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CompareFacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CompareFacesRequest.Builder |
similarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
default CompareFacesRequest.Builder |
sourceImage(Consumer<Image.Builder> sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest.Builder |
sourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object.
|
default CompareFacesRequest.Builder |
targetImage(Consumer<Image.Builder> targetImage)
The target image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest.Builder |
targetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object.
|
buildoverrideConfigurationcopyapplyMutation, buildCompareFacesRequest.Builder sourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
sourceImage - The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.default CompareFacesRequest.Builder sourceImage(Consumer<Image.Builder> sourceImage)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
This is a convenience that creates an instance of theImage.Builder avoiding the need to create one
manually via Image.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sourceImage(Image).sourceImage - a consumer that will call methods on Image.BuildersourceImage(Image)CompareFacesRequest.Builder targetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
targetImage - The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.default CompareFacesRequest.Builder targetImage(Consumer<Image.Builder> targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
This is a convenience that creates an instance of theImage.Builder avoiding the need to create one
manually via Image.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to targetImage(Image).targetImage - a consumer that will call methods on Image.BuildertargetImage(Image)CompareFacesRequest.Builder similarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
similarityThreshold - The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.CompareFacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CompareFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.