@Generated(value="software.amazon.awssdk:codegen") public final class GetFaceLivenessSessionResultsResponse extends RekognitionResponse implements ToCopyableBuilder<GetFaceLivenessSessionResultsResponse.Builder,GetFaceLivenessSessionResultsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetFaceLivenessSessionResultsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AuditImage> |
auditImages()
A set of images from the Face Liveness video that can be used for audit purposes.
|
static GetFaceLivenessSessionResultsResponse.Builder |
builder() |
Float |
confidence()
Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAuditImages()
For responses, this returns true if the service returned a value for the AuditImages property.
|
int |
hashCode() |
AuditImage |
referenceImage()
A high-quality image from the Face Liveness video that can be used for face comparison or search.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFaceLivenessSessionResultsResponse.Builder> |
serializableBuilderClass() |
String |
sessionId()
The sessionId for which this request was called.
|
LivenessSessionStatus |
status()
Represents a status corresponding to the state of the session.
|
String |
statusAsString()
Represents a status corresponding to the state of the session.
|
GetFaceLivenessSessionResultsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sessionId()
The sessionId for which this request was called.
public final LivenessSessionStatus status()
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
If the service returns an enum value that is not available in the current SDK version, status will
return LivenessSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
LivenessSessionStatuspublic final String statusAsString()
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
If the service returns an enum value that is not available in the current SDK version, status will
return LivenessSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
LivenessSessionStatuspublic final Float confidence()
Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
public final AuditImage 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.
public final boolean hasAuditImages()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AuditImage> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAuditImages() method.
public GetFaceLivenessSessionResultsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetFaceLivenessSessionResultsResponse.Builder,GetFaceLivenessSessionResultsResponse>toBuilder in class AwsResponsepublic static GetFaceLivenessSessionResultsResponse.Builder builder()
public static Class<? extends GetFaceLivenessSessionResultsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.