@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LendingDocument extends Object implements Serializable, Cloneable, StructuredPojo
Holds the structured data returned by AnalyzeDocument for lending documents.
Constructor and Description |
---|
LendingDocument() |
Modifier and Type | Method and Description |
---|---|
LendingDocument |
clone() |
boolean |
equals(Object obj) |
List<LendingField> |
getLendingFields()
An array of LendingField objects.
|
List<SignatureDetection> |
getSignatureDetections()
A list of signatures detected in a lending document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLendingFields(Collection<LendingField> lendingFields)
An array of LendingField objects.
|
void |
setSignatureDetections(Collection<SignatureDetection> signatureDetections)
A list of signatures detected in a lending document.
|
String |
toString()
Returns a string representation of this object.
|
LendingDocument |
withLendingFields(Collection<LendingField> lendingFields)
An array of LendingField objects.
|
LendingDocument |
withLendingFields(LendingField... lendingFields)
An array of LendingField objects.
|
LendingDocument |
withSignatureDetections(Collection<SignatureDetection> signatureDetections)
A list of signatures detected in a lending document.
|
LendingDocument |
withSignatureDetections(SignatureDetection... signatureDetections)
A list of signatures detected in a lending document.
|
public List<LendingField> getLendingFields()
An array of LendingField objects.
public void setLendingFields(Collection<LendingField> lendingFields)
An array of LendingField objects.
lendingFields
- An array of LendingField objects.public LendingDocument withLendingFields(LendingField... lendingFields)
An array of LendingField objects.
NOTE: This method appends the values to the existing list (if any). Use
setLendingFields(java.util.Collection)
or withLendingFields(java.util.Collection)
if you want
to override the existing values.
lendingFields
- An array of LendingField objects.public LendingDocument withLendingFields(Collection<LendingField> lendingFields)
An array of LendingField objects.
lendingFields
- An array of LendingField objects.public List<SignatureDetection> getSignatureDetections()
A list of signatures detected in a lending document.
public void setSignatureDetections(Collection<SignatureDetection> signatureDetections)
A list of signatures detected in a lending document.
signatureDetections
- A list of signatures detected in a lending document.public LendingDocument withSignatureDetections(SignatureDetection... signatureDetections)
A list of signatures detected in a lending document.
NOTE: This method appends the values to the existing list (if any). Use
setSignatureDetections(java.util.Collection)
or withSignatureDetections(java.util.Collection)
if you want to override the existing values.
signatureDetections
- A list of signatures detected in a lending document.public LendingDocument withSignatureDetections(Collection<SignatureDetection> signatureDetections)
A list of signatures detected in a lending document.
signatureDetections
- A list of signatures detected in a lending document.public String toString()
toString
in class Object
Object.toString()
public LendingDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.