Struct aws_sdk_comprehend::model::document_metadata::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DocumentMetadata.
Implementations§
source§impl Builder
impl Builder
sourcepub fn extracted_characters(self, input: ExtractedCharactersListItem) -> Self
pub fn extracted_characters(self, input: ExtractedCharactersListItem) -> Self
Appends an item to extracted_characters.
To override the contents of this collection use set_extracted_characters.
List of pages in the document, with the number of characters extracted from each page.
sourcepub fn set_extracted_characters(
self,
input: Option<Vec<ExtractedCharactersListItem>>
) -> Self
pub fn set_extracted_characters(
self,
input: Option<Vec<ExtractedCharactersListItem>>
) -> Self
List of pages in the document, with the number of characters extracted from each page.
sourcepub fn build(self) -> DocumentMetadata
pub fn build(self) -> DocumentMetadata
Consumes the builder and constructs a DocumentMetadata.