Interface GetFaceLivenessSessionResultsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetFaceLivenessSessionResultsResponse.Builder,GetFaceLivenessSessionResultsResponse>, RekognitionResponse.Builder, SdkBuilder<GetFaceLivenessSessionResultsResponse.Builder,GetFaceLivenessSessionResultsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetFaceLivenessSessionResultsResponse

  • Method Details

    • sessionId

      The sessionId for which this request was called.

      Parameters:
      sessionId - The sessionId for which this request was called.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.

      Parameters:
      status - Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.

      Parameters:
      status - Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confidence

      Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.

      Parameters:
      confidence - Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referenceImage

      A high-quality image from the Face Liveness video that can be used for face comparison or search. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. In case the reference image is not returned, it's recommended to retry the Liveness check.

      Parameters:
      referenceImage - A high-quality image from the Face Liveness video that can be used for face comparison or search. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. In case the reference image is not returned, it's recommended to retry the Liveness check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referenceImage

      A high-quality image from the Face Liveness video that can be used for face comparison or search. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. In case the reference image is not returned, it's recommended to retry the Liveness check.

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

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

      Parameters:
      referenceImage - a consumer that will call methods on AuditImage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • auditImages

      A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.

      Parameters:
      auditImages - A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditImages

      A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.

      Parameters:
      auditImages - A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditImages

      A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to auditImages(List<AuditImage>).

      Parameters:
      auditImages - a consumer that will call methods on AuditImage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: