Struct aws_sdk_textract::types::builders::DocumentGroupBuilder
source · #[non_exhaustive]pub struct DocumentGroupBuilder { /* private fields */ }Expand description
A builder for DocumentGroup.
Implementations§
source§impl DocumentGroupBuilder
impl DocumentGroupBuilder
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 Analyze Lending Response Objects 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 Analyze Lending Response Objects for a list of all types returned by Textract.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects 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 get_split_documents(&self) -> &Option<Vec<SplitDocument>>
pub fn get_split_documents(&self) -> &Option<Vec<SplitDocument>>
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 get_detected_signatures(&self) -> &Option<Vec<DetectedSignature>>
pub fn get_detected_signatures(&self) -> &Option<Vec<DetectedSignature>>
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 get_undetected_signatures(&self) -> &Option<Vec<UndetectedSignature>>
pub fn get_undetected_signatures(&self) -> &Option<Vec<UndetectedSignature>>
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.
Trait Implementations§
source§impl Clone for DocumentGroupBuilder
impl Clone for DocumentGroupBuilder
source§fn clone(&self) -> DocumentGroupBuilder
fn clone(&self) -> DocumentGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DocumentGroupBuilder
impl Debug for DocumentGroupBuilder
source§impl Default for DocumentGroupBuilder
impl Default for DocumentGroupBuilder
source§fn default() -> DocumentGroupBuilder
fn default() -> DocumentGroupBuilder
source§impl PartialEq for DocumentGroupBuilder
impl PartialEq for DocumentGroupBuilder
impl StructuralPartialEq for DocumentGroupBuilder
Auto Trait Implementations§
impl Freeze for DocumentGroupBuilder
impl RefUnwindSafe for DocumentGroupBuilder
impl Send for DocumentGroupBuilder
impl Sync for DocumentGroupBuilder
impl Unpin for DocumentGroupBuilder
impl UnwindSafe for DocumentGroupBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more