@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityDocument extends Object implements Serializable, Cloneable, StructuredPojo
The structure that lists each document processed in an AnalyzeID operation.
| Constructor and Description |
|---|
IdentityDocument() |
| Modifier and Type | Method and Description |
|---|---|
IdentityDocument |
clone() |
boolean |
equals(Object obj) |
List<Block> |
getBlocks()
Individual word recognition, as returned by document detection.
|
Integer |
getDocumentIndex()
Denotes the placement of a document in the IdentityDocument list.
|
List<IdentityDocumentField> |
getIdentityDocumentFields()
The structure used to record information extracted from identity documents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBlocks(Collection<Block> blocks)
Individual word recognition, as returned by document detection.
|
void |
setDocumentIndex(Integer documentIndex)
Denotes the placement of a document in the IdentityDocument list.
|
void |
setIdentityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields)
The structure used to record information extracted from identity documents.
|
String |
toString()
Returns a string representation of this object.
|
IdentityDocument |
withBlocks(Block... blocks)
Individual word recognition, as returned by document detection.
|
IdentityDocument |
withBlocks(Collection<Block> blocks)
Individual word recognition, as returned by document detection.
|
IdentityDocument |
withDocumentIndex(Integer documentIndex)
Denotes the placement of a document in the IdentityDocument list.
|
IdentityDocument |
withIdentityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields)
The structure used to record information extracted from identity documents.
|
IdentityDocument |
withIdentityDocumentFields(IdentityDocumentField... identityDocumentFields)
The structure used to record information extracted from identity documents.
|
public void setDocumentIndex(Integer documentIndex)
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
documentIndex - Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the
second 2 and so on.public Integer getDocumentIndex()
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
public IdentityDocument withDocumentIndex(Integer documentIndex)
Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the second 2 and so on.
documentIndex - Denotes the placement of a document in the IdentityDocument list. The first document is marked 1, the
second 2 and so on.public List<IdentityDocumentField> getIdentityDocumentFields()
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
public void setIdentityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields)
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
identityDocumentFields - The structure used to record information extracted from identity documents. Contains both normalized field
and value of the extracted text.public IdentityDocument withIdentityDocumentFields(IdentityDocumentField... identityDocumentFields)
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
NOTE: This method appends the values to the existing list (if any). Use
setIdentityDocumentFields(java.util.Collection) or
withIdentityDocumentFields(java.util.Collection) if you want to override the existing values.
identityDocumentFields - The structure used to record information extracted from identity documents. Contains both normalized field
and value of the extracted text.public IdentityDocument withIdentityDocumentFields(Collection<IdentityDocumentField> identityDocumentFields)
The structure used to record information extracted from identity documents. Contains both normalized field and value of the extracted text.
identityDocumentFields - The structure used to record information extracted from identity documents. Contains both normalized field
and value of the extracted text.public List<Block> getBlocks()
Individual word recognition, as returned by document detection.
public void setBlocks(Collection<Block> blocks)
Individual word recognition, as returned by document detection.
blocks - Individual word recognition, as returned by document detection.public IdentityDocument withBlocks(Block... blocks)
Individual word recognition, as returned by document detection.
NOTE: This method appends the values to the existing list (if any). Use
setBlocks(java.util.Collection) or withBlocks(java.util.Collection) if you want to override the
existing values.
blocks - Individual word recognition, as returned by document detection.public IdentityDocument withBlocks(Collection<Block> blocks)
Individual word recognition, as returned by document detection.
blocks - Individual word recognition, as returned by document detection.public String toString()
toString in class ObjectObject.toString()public IdentityDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.