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 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 the s3:PutObject permission on the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the LivenessOutputConfig.Builder avoiding the need to create one manually via LivenessOutputConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputConfig(LivenessOutputConfig).

      Parameters:
      outputConfig - a consumer that will call methods on LivenessOutputConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.