Struct aws_sdk_qbusiness::operation::batch_delete_document::builders::BatchDeleteDocumentInputBuilder
source · #[non_exhaustive]pub struct BatchDeleteDocumentInputBuilder { /* private fields */ }Expand description
A builder for BatchDeleteDocumentInput.
Implementations§
source§impl BatchDeleteDocumentInputBuilder
impl BatchDeleteDocumentInputBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q application.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the Amazon Q application.
sourcepub fn index_id(self, input: impl Into<String>) -> Self
pub fn index_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q index that contains the documents to delete.
This field is required.sourcepub fn set_index_id(self, input: Option<String>) -> Self
pub fn set_index_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q index that contains the documents to delete.
sourcepub fn get_index_id(&self) -> &Option<String>
pub fn get_index_id(&self) -> &Option<String>
The identifier of the Amazon Q index that contains the documents to delete.
sourcepub fn documents(self, input: DeleteDocument) -> Self
pub fn documents(self, input: DeleteDocument) -> Self
Appends an item to documents.
To override the contents of this collection use set_documents.
Documents deleted from the Amazon Q index.
sourcepub fn set_documents(self, input: Option<Vec<DeleteDocument>>) -> Self
pub fn set_documents(self, input: Option<Vec<DeleteDocument>>) -> Self
Documents deleted from the Amazon Q index.
sourcepub fn get_documents(&self) -> &Option<Vec<DeleteDocument>>
pub fn get_documents(&self) -> &Option<Vec<DeleteDocument>>
Documents deleted from the Amazon Q index.
sourcepub fn data_source_sync_id(self, input: impl Into<String>) -> Self
pub fn data_source_sync_id(self, input: impl Into<String>) -> Self
The identifier of the data source sync during which the documents were deleted.
sourcepub fn set_data_source_sync_id(self, input: Option<String>) -> Self
pub fn set_data_source_sync_id(self, input: Option<String>) -> Self
The identifier of the data source sync during which the documents were deleted.
sourcepub fn get_data_source_sync_id(&self) -> &Option<String>
pub fn get_data_source_sync_id(&self) -> &Option<String>
The identifier of the data source sync during which the documents were deleted.
sourcepub fn build(self) -> Result<BatchDeleteDocumentInput, BuildError>
pub fn build(self) -> Result<BatchDeleteDocumentInput, BuildError>
Consumes the builder and constructs a BatchDeleteDocumentInput.
source§impl BatchDeleteDocumentInputBuilder
impl BatchDeleteDocumentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchDeleteDocumentOutput, SdkError<BatchDeleteDocumentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchDeleteDocumentOutput, SdkError<BatchDeleteDocumentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDeleteDocumentInputBuilder
impl Clone for BatchDeleteDocumentInputBuilder
source§fn clone(&self) -> BatchDeleteDocumentInputBuilder
fn clone(&self) -> BatchDeleteDocumentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchDeleteDocumentInputBuilder
impl Default for BatchDeleteDocumentInputBuilder
source§fn default() -> BatchDeleteDocumentInputBuilder
fn default() -> BatchDeleteDocumentInputBuilder
source§impl PartialEq for BatchDeleteDocumentInputBuilder
impl PartialEq for BatchDeleteDocumentInputBuilder
source§fn eq(&self, other: &BatchDeleteDocumentInputBuilder) -> bool
fn eq(&self, other: &BatchDeleteDocumentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.