public static interface ExpenseDocument.Builder extends SdkPojo, CopyableBuilder<ExpenseDocument.Builder,ExpenseDocument>
| Modifier and Type | Method and Description |
|---|---|
ExpenseDocument.Builder |
blocks(Block... blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document.
|
ExpenseDocument.Builder |
blocks(Collection<Block> blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document.
|
ExpenseDocument.Builder |
blocks(Consumer<Block.Builder>... blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document.
|
ExpenseDocument.Builder |
expenseIndex(Integer expenseIndex)
Denotes which invoice or receipt in the document the information is coming from.
|
ExpenseDocument.Builder |
lineItemGroups(Collection<LineItemGroup> lineItemGroups)
Information detected on each table of a document, seperated into
LineItems. |
ExpenseDocument.Builder |
lineItemGroups(Consumer<LineItemGroup.Builder>... lineItemGroups)
Information detected on each table of a document, seperated into
LineItems. |
ExpenseDocument.Builder |
lineItemGroups(LineItemGroup... lineItemGroups)
Information detected on each table of a document, seperated into
LineItems. |
ExpenseDocument.Builder |
summaryFields(Collection<ExpenseField> summaryFields)
Any information found outside of a table by Amazon Textract.
|
ExpenseDocument.Builder |
summaryFields(Consumer<ExpenseField.Builder>... summaryFields)
Any information found outside of a table by Amazon Textract.
|
ExpenseDocument.Builder |
summaryFields(ExpenseField... summaryFields)
Any information found outside of a table by Amazon Textract.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExpenseDocument.Builder expenseIndex(Integer expenseIndex)
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
expenseIndex - Denotes which invoice or receipt in the document the information is coming from. First document will
be 1, the second 2, and so on.ExpenseDocument.Builder summaryFields(Collection<ExpenseField> summaryFields)
Any information found outside of a table by Amazon Textract.
summaryFields - Any information found outside of a table by Amazon Textract.ExpenseDocument.Builder summaryFields(ExpenseField... summaryFields)
Any information found outside of a table by Amazon Textract.
summaryFields - Any information found outside of a table by Amazon Textract.ExpenseDocument.Builder summaryFields(Consumer<ExpenseField.Builder>... summaryFields)
Any information found outside of a table by Amazon Textract.
This is a convenience method that creates an instance of theExpenseField.Builder avoiding the need to create one
manually via ExpenseField.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #summaryFields(List.
summaryFields - a consumer that will call methods on
ExpenseField.Builder#summaryFields(java.util.Collection) ExpenseDocument.Builder lineItemGroups(Collection<LineItemGroup> lineItemGroups)
Information detected on each table of a document, seperated into LineItems.
lineItemGroups - Information detected on each table of a document, seperated into LineItems.ExpenseDocument.Builder lineItemGroups(LineItemGroup... lineItemGroups)
Information detected on each table of a document, seperated into LineItems.
lineItemGroups - Information detected on each table of a document, seperated into LineItems.ExpenseDocument.Builder lineItemGroups(Consumer<LineItemGroup.Builder>... lineItemGroups)
Information detected on each table of a document, seperated into LineItems.
LineItemGroup.Builder avoiding the need to create one
manually via LineItemGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #lineItemGroups(List.
lineItemGroups - a consumer that will call methods on
LineItemGroup.Builder#lineItemGroups(java.util.Collection) ExpenseDocument.Builder blocks(Collection<Block> blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
blocks - This is a block object, the same as reported when DetectDocumentText is run on a document. It provides
word level recognition of text.ExpenseDocument.Builder blocks(Block... blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
blocks - This is a block object, the same as reported when DetectDocumentText is run on a document. It provides
word level recognition of text.ExpenseDocument.Builder blocks(Consumer<Block.Builder>... blocks)
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
This is a convenience method that creates an instance of theBlock.Builder avoiding the need to create one manually
via Block.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #blocks(List.
blocks - a consumer that will call methods on
Block.Builder#blocks(java.util.Collection) Copyright © 2023. All rights reserved.