#[non_exhaustive]pub struct GetDataSourceOutputBuilder { /* private fields */ }Expand description
A builder for GetDataSourceOutput.
Implementations§
source§impl GetDataSourceOutputBuilder
impl GetDataSourceOutputBuilder
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.
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 index linked to the data source connector.
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 linked 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 linked 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.
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 data_source_arn(self, input: impl Into<String>) -> Self
pub fn data_source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
sourcepub fn set_data_source_arn(self, input: Option<String>) -> Self
pub fn set_data_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
sourcepub fn get_data_source_arn(&self) -> &Option<String>
pub fn get_data_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the data source.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name for the data source connector.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name for the data source connector.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The name for the data source connector.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the data source connector. For example, S3.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the data source connector. For example, S3.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the data source connector. For example, S3.
sourcepub fn configuration(self, input: Document) -> Self
pub fn configuration(self, input: Document) -> Self
The details of how the data source connector is configured.
sourcepub fn set_configuration(self, input: Option<Document>) -> Self
pub fn set_configuration(self, input: Option<Document>) -> Self
The details of how the data source connector is configured.
sourcepub fn get_configuration(&self) -> &Option<Document>
pub fn get_configuration(&self) -> &Option<Document>
The details of how the data source connector is configured.
sourcepub fn vpc_configuration(self, input: DataSourceVpcConfiguration) -> Self
pub fn vpc_configuration(self, input: DataSourceVpcConfiguration) -> Self
Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
sourcepub fn set_vpc_configuration(
self,
input: Option<DataSourceVpcConfiguration>
) -> Self
pub fn set_vpc_configuration( self, input: Option<DataSourceVpcConfiguration> ) -> Self
Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
sourcepub fn get_vpc_configuration(&self) -> &Option<DataSourceVpcConfiguration>
pub fn get_vpc_configuration(&self) -> &Option<DataSourceVpcConfiguration>
Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The Unix timestamp when the data source connector was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The Unix timestamp when the data source connector was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The Unix timestamp when the data source connector was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The Unix timestamp when the data source connector was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The Unix timestamp when the data source connector was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The Unix timestamp when the data source connector was last updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the data source connector.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the data source connector.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the data source connector.
sourcepub fn status(self, input: DataSourceStatus) -> Self
pub fn status(self, input: DataSourceStatus) -> Self
The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
sourcepub fn set_status(self, input: Option<DataSourceStatus>) -> Self
pub fn set_status(self, input: Option<DataSourceStatus>) -> Self
The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
sourcepub fn get_status(&self) -> &Option<DataSourceStatus>
pub fn get_status(&self) -> &Option<DataSourceStatus>
The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
sourcepub fn sync_schedule(self, input: impl Into<String>) -> Self
pub fn sync_schedule(self, input: impl Into<String>) -> Self
The schedule for Amazon Q to update the index.
sourcepub fn set_sync_schedule(self, input: Option<String>) -> Self
pub fn set_sync_schedule(self, input: Option<String>) -> Self
The schedule for Amazon Q to update the index.
sourcepub fn get_sync_schedule(&self) -> &Option<String>
pub fn get_sync_schedule(&self) -> &Option<String>
The schedule for Amazon Q to update the index.
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 the 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 the 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 the role with permission to access the data source and required resources.
sourcepub fn error(self, input: ErrorDetail) -> Self
pub fn error(self, input: ErrorDetail) -> Self
When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
sourcepub fn set_error(self, input: Option<ErrorDetail>) -> Self
pub fn set_error(self, input: Option<ErrorDetail>) -> Self
When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
sourcepub fn get_error(&self) -> &Option<ErrorDetail>
pub fn get_error(&self) -> &Option<ErrorDetail>
When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
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) -> GetDataSourceOutput
pub fn build(self) -> GetDataSourceOutput
Consumes the builder and constructs a GetDataSourceOutput.
Trait Implementations§
source§impl Clone for GetDataSourceOutputBuilder
impl Clone for GetDataSourceOutputBuilder
source§fn clone(&self) -> GetDataSourceOutputBuilder
fn clone(&self) -> GetDataSourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDataSourceOutputBuilder
impl Debug for GetDataSourceOutputBuilder
source§impl Default for GetDataSourceOutputBuilder
impl Default for GetDataSourceOutputBuilder
source§fn default() -> GetDataSourceOutputBuilder
fn default() -> GetDataSourceOutputBuilder
source§impl PartialEq for GetDataSourceOutputBuilder
impl PartialEq for GetDataSourceOutputBuilder
source§fn eq(&self, other: &GetDataSourceOutputBuilder) -> bool
fn eq(&self, other: &GetDataSourceOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.