@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) |
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public IdentityDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.