Struct aws_sdk_textract::model::document_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DocumentGroup
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.
sourcepub fn split_documents(self, input: SplitDocument) -> Self
pub fn split_documents(self, input: SplitDocument) -> Self
Appends an item to split_documents
.
To override the contents of this collection use set_split_documents
.
An array that contains information about the pages of a document, defined by logical boundary.
sourcepub fn set_split_documents(self, input: Option<Vec<SplitDocument>>) -> Self
pub fn set_split_documents(self, input: Option<Vec<SplitDocument>>) -> Self
An array that contains information about the pages of a document, defined by logical boundary.
sourcepub fn detected_signatures(self, input: DetectedSignature) -> Self
pub fn detected_signatures(self, input: DetectedSignature) -> Self
Appends an item to detected_signatures
.
To override the contents of this collection use set_detected_signatures
.
A list of the detected signatures found in a document group.
sourcepub fn set_detected_signatures(
self,
input: Option<Vec<DetectedSignature>>
) -> Self
pub fn set_detected_signatures(
self,
input: Option<Vec<DetectedSignature>>
) -> Self
A list of the detected signatures found in a document group.
sourcepub fn undetected_signatures(self, input: UndetectedSignature) -> Self
pub fn undetected_signatures(self, input: UndetectedSignature) -> Self
Appends an item to undetected_signatures
.
To override the contents of this collection use set_undetected_signatures
.
A list of any expected signatures not found in a document group.
sourcepub fn set_undetected_signatures(
self,
input: Option<Vec<UndetectedSignature>>
) -> Self
pub fn set_undetected_signatures(
self,
input: Option<Vec<UndetectedSignature>>
) -> Self
A list of any expected signatures not found in a document group.
sourcepub fn build(self) -> DocumentGroup
pub fn build(self) -> DocumentGroup
Consumes the builder and constructs a DocumentGroup
.