Struct aws_sdk_textract::model::page_classification::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for PageClassification.
Implementations§
source§impl Builder
impl Builder
sourcepub fn page_type(self, input: Prediction) -> Self
pub fn page_type(self, input: Prediction) -> Self
Appends an item to page_type.
To override the contents of this collection use set_page_type.
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
sourcepub fn set_page_type(self, input: Option<Vec<Prediction>>) -> Self
pub fn set_page_type(self, input: Option<Vec<Prediction>>) -> Self
The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
sourcepub fn page_number(self, input: Prediction) -> Self
pub fn page_number(self, input: Prediction) -> Self
Appends an item to page_number.
To override the contents of this collection use set_page_number.
The page number the value was detected on, relative to Amazon Textract's starting position.
sourcepub fn set_page_number(self, input: Option<Vec<Prediction>>) -> Self
pub fn set_page_number(self, input: Option<Vec<Prediction>>) -> Self
The page number the value was detected on, relative to Amazon Textract's starting position.
sourcepub fn build(self) -> PageClassification
pub fn build(self) -> PageClassification
Consumes the builder and constructs a PageClassification.