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.
|
build
overrideConfiguration
copy
applyMutation, build
CompareFacesRequest.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.Builder
sourceImage(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.Builder
targetImage(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.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CompareFacesRequest.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.