Interface CreateFaceLivenessSessionRequestSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateFaceLivenessSessionRequestSettings.Builder,CreateFaceLivenessSessionRequestSettings>,SdkBuilder<CreateFaceLivenessSessionRequestSettings.Builder,CreateFaceLivenessSessionRequestSettings>,SdkPojo
- Enclosing class:
- CreateFaceLivenessSessionRequestSettings
public static interface CreateFaceLivenessSessionRequestSettings.Builder extends SdkPojo, CopyableBuilder<CreateFaceLivenessSessionRequestSettings.Builder,CreateFaceLivenessSessionRequestSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFaceLivenessSessionRequestSettings.BuilderauditImagesLimit(Integer auditImagesLimit)Number of audit images to be returned back.default CreateFaceLivenessSessionRequestSettings.BuilderoutputConfig(Consumer<LivenessOutputConfig.Builder> outputConfig)Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored.CreateFaceLivenessSessionRequestSettings.BuilderoutputConfig(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
outputConfig
CreateFaceLivenessSessionRequestSettings.Builder outputConfig(LivenessOutputConfig 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:PutObjectpermission 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:PutObjectpermission 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:PutObjectpermission on the Amazon S3 bucket.LivenessOutputConfig.Builderavoiding the need to create one manually viaLivenessOutputConfig.builder().When the
Consumercompletes,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:
outputConfig(LivenessOutputConfig)
-
auditImagesLimit
CreateFaceLivenessSessionRequestSettings.Builder auditImagesLimit(Integer 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.
-
-