@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFaceLivenessSessionResultsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFaceLivenessSessionResultsResult() |
Modifier and Type | Method and Description |
---|---|
GetFaceLivenessSessionResultsResult |
clone() |
boolean |
equals(Object obj) |
List<AuditImage> |
getAuditImages()
A set of images from the Face Liveness video that can be used for audit purposes.
|
Float |
getConfidence()
Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.
|
AuditImage |
getReferenceImage()
A high-quality image from the Face Liveness video that can be used for face comparison or search.
|
String |
getSessionId()
The sessionId for which this request was called.
|
String |
getStatus()
Represents a status corresponding to the state of the session.
|
int |
hashCode() |
void |
setAuditImages(Collection<AuditImage> auditImages)
A set of images from the Face Liveness video that can be used for audit purposes.
|
void |
setConfidence(Float confidence)
Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.
|
void |
setReferenceImage(AuditImage referenceImage)
A high-quality image from the Face Liveness video that can be used for face comparison or search.
|
void |
setSessionId(String sessionId)
The sessionId for which this request was called.
|
void |
setStatus(String status)
Represents a status corresponding to the state of the session.
|
String |
toString()
Returns a string representation of this object.
|
GetFaceLivenessSessionResultsResult |
withAuditImages(AuditImage... auditImages)
A set of images from the Face Liveness video that can be used for audit purposes.
|
GetFaceLivenessSessionResultsResult |
withAuditImages(Collection<AuditImage> auditImages)
A set of images from the Face Liveness video that can be used for audit purposes.
|
GetFaceLivenessSessionResultsResult |
withConfidence(Float confidence)
Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.
|
GetFaceLivenessSessionResultsResult |
withReferenceImage(AuditImage referenceImage)
A high-quality image from the Face Liveness video that can be used for face comparison or search.
|
GetFaceLivenessSessionResultsResult |
withSessionId(String sessionId)
The sessionId for which this request was called.
|
GetFaceLivenessSessionResultsResult |
withStatus(LivenessSessionStatus status)
Represents a status corresponding to the state of the session.
|
GetFaceLivenessSessionResultsResult |
withStatus(String status)
Represents a status corresponding to the state of the session.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSessionId(String sessionId)
The sessionId for which this request was called.
sessionId
- The sessionId for which this request was called.public String getSessionId()
The sessionId for which this request was called.
public GetFaceLivenessSessionResultsResult withSessionId(String sessionId)
The sessionId for which this request was called.
sessionId
- The sessionId for which this request was called.public void setStatus(String status)
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
status
- Represents a status corresponding to the state of the session. Possible statuses are: CREATED,
IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.LivenessSessionStatus
public String getStatus()
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
LivenessSessionStatus
public GetFaceLivenessSessionResultsResult withStatus(String status)
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
status
- Represents a status corresponding to the state of the session. Possible statuses are: CREATED,
IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.LivenessSessionStatus
public GetFaceLivenessSessionResultsResult withStatus(LivenessSessionStatus status)
Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
status
- Represents a status corresponding to the state of the session. Possible statuses are: CREATED,
IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.LivenessSessionStatus
public void setConfidence(Float confidence)
Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
confidence
- Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.public Float getConfidence()
Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
public GetFaceLivenessSessionResultsResult withConfidence(Float confidence)
Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
confidence
- Probabalistic confidence score for if the person in the given video was live, represented as a float value
between 0 to 100.public void setReferenceImage(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.
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 AuditImage getReferenceImage()
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 GetFaceLivenessSessionResultsResult withReferenceImage(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.
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 List<AuditImage> getAuditImages()
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.
public void setAuditImages(Collection<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. If no Amazon S3 bucket is defined, raw bytes are sent instead.
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.public GetFaceLivenessSessionResultsResult withAuditImages(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. If no Amazon S3 bucket is defined, raw bytes are sent instead.
NOTE: This method appends the values to the existing list (if any). Use
setAuditImages(java.util.Collection)
or withAuditImages(java.util.Collection)
if you want to
override the existing values.
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.public GetFaceLivenessSessionResultsResult withAuditImages(Collection<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. If no Amazon S3 bucket is defined, raw bytes are sent instead.
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.public String toString()
toString
in class Object
Object.toString()
public GetFaceLivenessSessionResultsResult clone()