Interface CreateFaceLivenessSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFaceLivenessSessionRequest.Builder,
,CreateFaceLivenessSessionRequest> RekognitionRequest.Builder
,SdkBuilder<CreateFaceLivenessSessionRequest.Builder,
,CreateFaceLivenessSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFaceLivenessSessionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Idempotent token is used to recognize the Face Liveness request.The identifier for your AWS Key Management Service key (AWS KMS key).overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A session settings object.A session settings object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
kmsKeyId
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt audit images and reference images.
- Parameters:
kmsKeyId
- The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt audit images and reference images.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
CreateFaceLivenessSessionRequest.Builder settings(CreateFaceLivenessSessionRequestSettings settings) A session settings object. It contains settings for the operation to be performed. For Face Liveness, it accepts
OutputConfig
andAuditImagesLimit
.- Parameters:
settings
- A session settings object. It contains settings for the operation to be performed. For Face Liveness, it acceptsOutputConfig
andAuditImagesLimit
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default CreateFaceLivenessSessionRequest.Builder settings(Consumer<CreateFaceLivenessSessionRequestSettings.Builder> settings) A session settings object. It contains settings for the operation to be performed. For Face Liveness, it accepts
This is a convenience method that creates an instance of theOutputConfig
andAuditImagesLimit
.CreateFaceLivenessSessionRequestSettings.Builder
avoiding the need to create one manually viaCreateFaceLivenessSessionRequestSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(CreateFaceLivenessSessionRequestSettings)
.- Parameters:
settings
- a consumer that will call methods onCreateFaceLivenessSessionRequestSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
Idempotent token is used to recognize the Face Liveness request. If the same token is used with multiple
CreateFaceLivenessSession
requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.- Parameters:
clientRequestToken
- Idempotent token is used to recognize the Face Liveness request. If the same token is used with multipleCreateFaceLivenessSession
requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFaceLivenessSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFaceLivenessSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-