Struct aws_sdk_qbusiness::operation::batch_put_document::builders::BatchPutDocumentOutputBuilder
source · #[non_exhaustive]pub struct BatchPutDocumentOutputBuilder { /* private fields */ }Expand description
A builder for BatchPutDocumentOutput.
Implementations§
source§impl BatchPutDocumentOutputBuilder
impl BatchPutDocumentOutputBuilder
sourcepub fn failed_documents(self, input: FailedDocument) -> Self
pub fn failed_documents(self, input: FailedDocument) -> Self
Appends an item to failed_documents.
To override the contents of this collection use set_failed_documents.
A list of documents that were not added to the Amazon Q index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
sourcepub fn set_failed_documents(self, input: Option<Vec<FailedDocument>>) -> Self
pub fn set_failed_documents(self, input: Option<Vec<FailedDocument>>) -> Self
A list of documents that were not added to the Amazon Q index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
sourcepub fn get_failed_documents(&self) -> &Option<Vec<FailedDocument>>
pub fn get_failed_documents(&self) -> &Option<Vec<FailedDocument>>
A list of documents that were not added to the Amazon Q index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
sourcepub fn build(self) -> BatchPutDocumentOutput
pub fn build(self) -> BatchPutDocumentOutput
Consumes the builder and constructs a BatchPutDocumentOutput.
Trait Implementations§
source§impl Clone for BatchPutDocumentOutputBuilder
impl Clone for BatchPutDocumentOutputBuilder
source§fn clone(&self) -> BatchPutDocumentOutputBuilder
fn clone(&self) -> BatchPutDocumentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchPutDocumentOutputBuilder
impl Default for BatchPutDocumentOutputBuilder
source§fn default() -> BatchPutDocumentOutputBuilder
fn default() -> BatchPutDocumentOutputBuilder
source§impl PartialEq for BatchPutDocumentOutputBuilder
impl PartialEq for BatchPutDocumentOutputBuilder
source§fn eq(&self, other: &BatchPutDocumentOutputBuilder) -> bool
fn eq(&self, other: &BatchPutDocumentOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.