Interface CreateFaceLivenessSessionRequestSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateFaceLivenessSessionRequestSettings.Builder,
,CreateFaceLivenessSessionRequestSettings> SdkBuilder<CreateFaceLivenessSessionRequestSettings.Builder,
,CreateFaceLivenessSessionRequestSettings> SdkPojo
- Enclosing class:
CreateFaceLivenessSessionRequestSettings
-
Method Summary
Modifier and TypeMethodDescriptionauditImagesLimit
(Integer auditImagesLimit) Number of audit images to be returned back.outputConfig
(Consumer<LivenessOutputConfig.Builder> outputConfig) Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored.outputConfig
(LivenessOutputConfig outputConfig) Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
outputConfig
Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has the
s3:PutObject
permission on the Amazon S3 bucket.- Parameters:
outputConfig
- Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has thes3:PutObject
permission on the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateFaceLivenessSessionRequestSettings.Builder outputConfig(Consumer<LivenessOutputConfig.Builder> outputConfig) Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has the
This is a convenience method that creates an instance of thes3:PutObject
permission on the Amazon S3 bucket.LivenessOutputConfig.Builder
avoiding the need to create one manually viaLivenessOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(LivenessOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onLivenessOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auditImagesLimit
Number of audit images to be returned back. Takes an integer between 0-4. Any integer less than 0 will return 0, any integer above 4 will return 4 images in the response. By default, it is set to 0. The limit is best effort and is based on the actual duration of the selfie-video.
- Parameters:
auditImagesLimit
- Number of audit images to be returned back. Takes an integer between 0-4. Any integer less than 0 will return 0, any integer above 4 will return 4 images in the response. By default, it is set to 0. The limit is best effort and is based on the actual duration of the selfie-video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-