Struct aws_sdk_textract::model::lending_result::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for LendingResult.
Implementations§
source§impl Builder
impl Builder
sourcepub fn page(self, input: i32) -> Self
pub fn page(self, input: i32) -> Self
The page number for a page, with regard to whole submission.
sourcepub fn set_page(self, input: Option<i32>) -> Self
pub fn set_page(self, input: Option<i32>) -> Self
The page number for a page, with regard to whole submission.
sourcepub fn page_classification(self, input: PageClassification) -> Self
pub fn page_classification(self, input: PageClassification) -> Self
The classifier result for a given page.
sourcepub fn set_page_classification(self, input: Option<PageClassification>) -> Self
pub fn set_page_classification(self, input: Option<PageClassification>) -> Self
The classifier result for a given page.
sourcepub fn extractions(self, input: Extraction) -> Self
pub fn extractions(self, input: Extraction) -> Self
Appends an item to extractions.
To override the contents of this collection use set_extractions.
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
sourcepub fn set_extractions(self, input: Option<Vec<Extraction>>) -> Self
pub fn set_extractions(self, input: Option<Vec<Extraction>>) -> Self
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
sourcepub fn build(self) -> LendingResult
pub fn build(self) -> LendingResult
Consumes the builder and constructs a LendingResult.