Struct aws_sdk_textract::model::expense_document::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ExpenseDocument.
Implementations§
source§impl Builder
impl Builder
sourcepub fn expense_index(self, input: i32) -> Self
pub fn expense_index(self, input: i32) -> Self
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
sourcepub fn set_expense_index(self, input: Option<i32>) -> Self
pub fn set_expense_index(self, input: Option<i32>) -> Self
Denotes which invoice or receipt in the document the information is coming from. First document will be 1, the second 2, and so on.
sourcepub fn summary_fields(self, input: ExpenseField) -> Self
pub fn summary_fields(self, input: ExpenseField) -> Self
Appends an item to summary_fields.
To override the contents of this collection use set_summary_fields.
Any information found outside of a table by Amazon Textract.
sourcepub fn set_summary_fields(self, input: Option<Vec<ExpenseField>>) -> Self
pub fn set_summary_fields(self, input: Option<Vec<ExpenseField>>) -> Self
Any information found outside of a table by Amazon Textract.
sourcepub fn line_item_groups(self, input: LineItemGroup) -> Self
pub fn line_item_groups(self, input: LineItemGroup) -> Self
Appends an item to line_item_groups.
To override the contents of this collection use set_line_item_groups.
Information detected on each table of a document, seperated into LineItems.
sourcepub fn set_line_item_groups(self, input: Option<Vec<LineItemGroup>>) -> Self
pub fn set_line_item_groups(self, input: Option<Vec<LineItemGroup>>) -> Self
Information detected on each table of a document, seperated into LineItems.
sourcepub fn blocks(self, input: Block) -> Self
pub fn blocks(self, input: Block) -> Self
Appends an item to blocks.
To override the contents of this collection use set_blocks.
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
This is a block object, the same as reported when DetectDocumentText is run on a document. It provides word level recognition of text.
sourcepub fn build(self) -> ExpenseDocument
pub fn build(self) -> ExpenseDocument
Consumes the builder and constructs a ExpenseDocument.