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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
OutputConfigandAuditImagesLimit.- Parameters:
settings- A session settings object. It contains settings for the operation to be performed. For Face Liveness, it acceptsOutputConfigandAuditImagesLimit.- 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 theOutputConfigandAuditImagesLimit.CreateFaceLivenessSessionRequestSettings.Builderavoiding the need to create one manually viaCreateFaceLivenessSessionRequestSettings.builder().When the
Consumercompletes,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
CreateFaceLivenessSessionrequests, 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 multipleCreateFaceLivenessSessionrequests, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-