Struct aws_sdk_qbusiness::operation::update_data_source::builders::UpdateDataSourceInputBuilder
source · #[non_exhaustive]pub struct UpdateDataSourceInputBuilder { /* private fields */ }Expand description
A builder for UpdateDataSourceInput.
Implementations§
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
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 the data source is attached to.
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 the data source is attached to.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the Amazon Q application the data source is attached to.
sourcepub fn index_id(self, input: impl Into<String>) -> Self
pub fn index_id(self, input: impl Into<String>) -> Self
The identifier of the index attached to the data source connector.
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 index attached to the data source connector.
sourcepub fn get_index_id(&self) -> &Option<String>
pub fn get_index_id(&self) -> &Option<String>
The identifier of the index attached to the data source connector.
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The identifier of the data source connector.
This field is required.sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The identifier of the data source connector.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The identifier of the data source connector.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
A name of the data source connector.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
A name of the data source connector.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
A name of the data source connector.
sourcepub fn configuration(self, input: Document) -> Self
pub fn configuration(self, input: Document) -> Self
Provides the configuration information for an Amazon Q data source.
sourcepub fn set_configuration(self, input: Option<Document>) -> Self
pub fn set_configuration(self, input: Option<Document>) -> Self
Provides the configuration information for an Amazon Q data source.
sourcepub fn get_configuration(&self) -> &Option<Document>
pub fn get_configuration(&self) -> &Option<Document>
Provides the configuration information for an Amazon Q data source.
sourcepub fn vpc_configuration(self, input: DataSourceVpcConfiguration) -> Self
pub fn vpc_configuration(self, input: DataSourceVpcConfiguration) -> Self
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
sourcepub fn set_vpc_configuration(
self,
input: Option<DataSourceVpcConfiguration>
) -> Self
pub fn set_vpc_configuration( self, input: Option<DataSourceVpcConfiguration> ) -> Self
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
sourcepub fn get_vpc_configuration(&self) -> &Option<DataSourceVpcConfiguration>
pub fn get_vpc_configuration(&self) -> &Option<DataSourceVpcConfiguration>
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the data source connector.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the data source connector.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the data source connector.
sourcepub fn sync_schedule(self, input: impl Into<String>) -> Self
pub fn sync_schedule(self, input: impl Into<String>) -> Self
The chosen update frequency for your data source.
sourcepub fn set_sync_schedule(self, input: Option<String>) -> Self
pub fn set_sync_schedule(self, input: Option<String>) -> Self
The chosen update frequency for your data source.
sourcepub fn get_sync_schedule(&self) -> &Option<String>
pub fn get_sync_schedule(&self) -> &Option<String>
The chosen update frequency for your data source.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
sourcepub fn document_enrichment_configuration(
self,
input: DocumentEnrichmentConfiguration
) -> Self
pub fn document_enrichment_configuration( self, input: DocumentEnrichmentConfiguration ) -> Self
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
sourcepub fn set_document_enrichment_configuration(
self,
input: Option<DocumentEnrichmentConfiguration>
) -> Self
pub fn set_document_enrichment_configuration( self, input: Option<DocumentEnrichmentConfiguration> ) -> Self
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
sourcepub fn get_document_enrichment_configuration(
&self
) -> &Option<DocumentEnrichmentConfiguration>
pub fn get_document_enrichment_configuration( &self ) -> &Option<DocumentEnrichmentConfiguration>
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Custom document enrichment.
sourcepub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
pub fn build(self) -> Result<UpdateDataSourceInput, BuildError>
Consumes the builder and constructs a UpdateDataSourceInput.
source§impl UpdateDataSourceInputBuilder
impl UpdateDataSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDataSourceInputBuilder
impl Clone for UpdateDataSourceInputBuilder
source§fn clone(&self) -> UpdateDataSourceInputBuilder
fn clone(&self) -> UpdateDataSourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateDataSourceInputBuilder
impl Debug for UpdateDataSourceInputBuilder
source§impl Default for UpdateDataSourceInputBuilder
impl Default for UpdateDataSourceInputBuilder
source§fn default() -> UpdateDataSourceInputBuilder
fn default() -> UpdateDataSourceInputBuilder
source§impl PartialEq for UpdateDataSourceInputBuilder
impl PartialEq for UpdateDataSourceInputBuilder
source§fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
fn eq(&self, other: &UpdateDataSourceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.