@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditImage extends Object implements Serializable, Cloneable, StructuredPojo
An image that is picked from the Face Liveness video and returned for audit trail purposes, returned as Base64-encoded bytes.
Constructor and Description |
---|
AuditImage() |
Modifier and Type | Method and Description |
---|---|
AuditImage |
clone() |
boolean |
equals(Object obj) |
BoundingBox |
getBoundingBox() |
ByteBuffer |
getBytes()
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit
purposes.
|
S3Object |
getS3Object() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoundingBox(BoundingBox boundingBox) |
void |
setBytes(ByteBuffer bytes)
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit
purposes.
|
void |
setS3Object(S3Object s3Object) |
String |
toString()
Returns a string representation of this object.
|
AuditImage |
withBoundingBox(BoundingBox boundingBox) |
AuditImage |
withBytes(ByteBuffer bytes)
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit
purposes.
|
AuditImage |
withS3Object(S3Object s3Object) |
public void setBytes(ByteBuffer bytes)
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit purposes.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
bytes
- The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for
audit purposes.public ByteBuffer getBytes()
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit purposes.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public AuditImage withBytes(ByteBuffer bytes)
The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for audit purposes.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
bytes
- The Base64-encoded bytes representing an image selected from the Face Liveness video and returned for
audit purposes.public void setS3Object(S3Object s3Object)
s3Object
- public S3Object getS3Object()
public AuditImage withS3Object(S3Object s3Object)
s3Object
- public void setBoundingBox(BoundingBox boundingBox)
boundingBox
- public BoundingBox getBoundingBox()
public AuditImage withBoundingBox(BoundingBox boundingBox)
boundingBox
- public String toString()
toString
in class Object
Object.toString()
public AuditImage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.