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 Summary
Modifier and TypeMethodDescriptionauditImages
(Collection<AuditImage> auditImages) A set of images from the Face Liveness video that can be used for audit purposes.auditImages
(Consumer<AuditImage.Builder>... auditImages) A set of images from the Face Liveness video that can be used for audit purposes.auditImages
(AuditImage... auditImages) A set of images from the Face Liveness video that can be used for audit purposes.confidence
(Float confidence) Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.referenceImage
(Consumer<AuditImage.Builder> referenceImage) A high-quality image from the Face Liveness video that can be used for face comparison or search.referenceImage
(AuditImage referenceImage) A high-quality image from the Face Liveness video that can be used for face comparison or search.The sessionId for which this request was called.Represents a status corresponding to the state of the session.status
(LivenessSessionStatus status) Represents a status corresponding to the state of the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
default GetFaceLivenessSessionResultsResponse.Builder referenceImage(Consumer<AuditImage.Builder> 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 theAuditImage.Builder
avoiding the need to create one manually viaAuditImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceImage(AuditImage)
.- Parameters:
referenceImage
- a consumer that will call methods onAuditImage.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
GetFaceLivenessSessionResultsResponse.Builder auditImages(Consumer<AuditImage.Builder>... 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 theAuditImage.Builder
avoiding the need to create one manually viaAuditImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauditImages(List<AuditImage>)
.- Parameters:
auditImages
- a consumer that will call methods onAuditImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-