@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LendingResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains the detections for each page analyzed through the Analyze Lending API.
Constructor and Description |
---|
LendingResult() |
Modifier and Type | Method and Description |
---|---|
LendingResult |
clone() |
boolean |
equals(Object obj) |
List<Extraction> |
getExtractions()
An array of Extraction to hold structured data.
|
Integer |
getPage()
The page number for a page, with regard to whole submission.
|
PageClassification |
getPageClassification()
The classifier result for a given page.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExtractions(Collection<Extraction> extractions)
An array of Extraction to hold structured data.
|
void |
setPage(Integer page)
The page number for a page, with regard to whole submission.
|
void |
setPageClassification(PageClassification pageClassification)
The classifier result for a given page.
|
String |
toString()
Returns a string representation of this object.
|
LendingResult |
withExtractions(Collection<Extraction> extractions)
An array of Extraction to hold structured data.
|
LendingResult |
withExtractions(Extraction... extractions)
An array of Extraction to hold structured data.
|
LendingResult |
withPage(Integer page)
The page number for a page, with regard to whole submission.
|
LendingResult |
withPageClassification(PageClassification pageClassification)
The classifier result for a given page.
|
public void setPage(Integer page)
The page number for a page, with regard to whole submission.
page
- The page number for a page, with regard to whole submission.public Integer getPage()
The page number for a page, with regard to whole submission.
public LendingResult withPage(Integer page)
The page number for a page, with regard to whole submission.
page
- The page number for a page, with regard to whole submission.public void setPageClassification(PageClassification pageClassification)
The classifier result for a given page.
pageClassification
- The classifier result for a given page.public PageClassification getPageClassification()
The classifier result for a given page.
public LendingResult withPageClassification(PageClassification pageClassification)
The classifier result for a given page.
pageClassification
- The classifier result for a given page.public List<Extraction> getExtractions()
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
public void setExtractions(Collection<Extraction> extractions)
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
extractions
- An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR
detections .public LendingResult withExtractions(Extraction... extractions)
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
NOTE: This method appends the values to the existing list (if any). Use
setExtractions(java.util.Collection)
or withExtractions(java.util.Collection)
if you want to
override the existing values.
extractions
- An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR
detections .public LendingResult withExtractions(Collection<Extraction> extractions)
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
extractions
- An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR
detections .public String toString()
toString
in class Object
Object.toString()
public LendingResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.