Struct aws_sdk_textract::operation::detect_document_text::builders::DetectDocumentTextOutputBuilder
source · #[non_exhaustive]pub struct DetectDocumentTextOutputBuilder { /* private fields */ }
Expand description
A builder for DetectDocumentTextOutput
.
Implementations§
source§impl DetectDocumentTextOutputBuilder
impl DetectDocumentTextOutputBuilder
sourcepub fn document_metadata(self, input: DocumentMetadata) -> Self
pub fn document_metadata(self, input: DocumentMetadata) -> Self
Metadata about the document. It contains the number of pages that are detected in the document.
sourcepub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
pub fn set_document_metadata(self, input: Option<DocumentMetadata>) -> Self
Metadata about the document. It contains the number of pages that are detected in the document.
sourcepub fn get_document_metadata(&self) -> &Option<DocumentMetadata>
pub fn get_document_metadata(&self) -> &Option<DocumentMetadata>
Metadata about the document. It contains the number of pages that are detected in the document.
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
.
An array of Block
objects that contain the text that's detected in the document.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
An array of Block
objects that contain the text that's detected in the document.
sourcepub fn get_blocks(&self) -> &Option<Vec<Block>>
pub fn get_blocks(&self) -> &Option<Vec<Block>>
An array of Block
objects that contain the text that's detected in the document.
sourcepub fn detect_document_text_model_version(
self,
input: impl Into<String>
) -> Self
pub fn detect_document_text_model_version( self, input: impl Into<String> ) -> Self
sourcepub fn set_detect_document_text_model_version(
self,
input: Option<String>
) -> Self
pub fn set_detect_document_text_model_version( self, input: Option<String> ) -> Self
sourcepub fn get_detect_document_text_model_version(&self) -> &Option<String>
pub fn get_detect_document_text_model_version(&self) -> &Option<String>
sourcepub fn build(self) -> DetectDocumentTextOutput
pub fn build(self) -> DetectDocumentTextOutput
Consumes the builder and constructs a DetectDocumentTextOutput
.
Trait Implementations§
source§impl Clone for DetectDocumentTextOutputBuilder
impl Clone for DetectDocumentTextOutputBuilder
source§fn clone(&self) -> DetectDocumentTextOutputBuilder
fn clone(&self) -> DetectDocumentTextOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DetectDocumentTextOutputBuilder
impl Default for DetectDocumentTextOutputBuilder
source§fn default() -> DetectDocumentTextOutputBuilder
fn default() -> DetectDocumentTextOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectDocumentTextOutputBuilder
impl PartialEq for DetectDocumentTextOutputBuilder
source§fn eq(&self, other: &DetectDocumentTextOutputBuilder) -> bool
fn eq(&self, other: &DetectDocumentTextOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectDocumentTextOutputBuilder
Auto Trait Implementations§
impl Freeze for DetectDocumentTextOutputBuilder
impl RefUnwindSafe for DetectDocumentTextOutputBuilder
impl Send for DetectDocumentTextOutputBuilder
impl Sync for DetectDocumentTextOutputBuilder
impl Unpin for DetectDocumentTextOutputBuilder
impl UnwindSafe for DetectDocumentTextOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.