Interface CreateFaceLivenessSessionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFaceLivenessSessionRequest.Builder,CreateFaceLivenessSessionRequest>,RekognitionRequest.Builder,SdkBuilder<CreateFaceLivenessSessionRequest.Builder,CreateFaceLivenessSessionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFaceLivenessSessionRequest
public static interface CreateFaceLivenessSessionRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateFaceLivenessSessionRequest.Builder,CreateFaceLivenessSessionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFaceLivenessSessionRequest.BuilderclientRequestToken(String clientRequestToken)Idempotent token is used to recognize the Face Liveness request.CreateFaceLivenessSessionRequest.BuilderkmsKeyId(String kmsKeyId)The identifier for your AWS Key Management Service key (AWS KMS key).CreateFaceLivenessSessionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFaceLivenessSessionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateFaceLivenessSessionRequest.Buildersettings(Consumer<CreateFaceLivenessSessionRequestSettings.Builder> settings)A session settings object.CreateFaceLivenessSessionRequest.Buildersettings(CreateFaceLivenessSessionRequestSettings settings)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
kmsKeyId
CreateFaceLivenessSessionRequest.Builder kmsKeyId(String 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:
settings(CreateFaceLivenessSessionRequestSettings)
-
clientRequestToken
CreateFaceLivenessSessionRequest.Builder clientRequestToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFaceLivenessSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-