#[non_exhaustive]pub struct DataSourceConfigurationBuilder { /* private fields */ }Expand description
A builder for DataSourceConfiguration.
Implementations§
source§impl DataSourceConfigurationBuilder
impl DataSourceConfigurationBuilder
sourcepub fn opensearch_configuration(self, input: OpensearchConfiguration) -> Self
pub fn opensearch_configuration(self, input: OpensearchConfiguration) -> Self
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
sourcepub fn set_opensearch_configuration(
self,
input: Option<OpensearchConfiguration>
) -> Self
pub fn set_opensearch_configuration( self, input: Option<OpensearchConfiguration> ) -> Self
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
sourcepub fn get_opensearch_configuration(&self) -> &Option<OpensearchConfiguration>
pub fn get_opensearch_configuration(&self) -> &Option<OpensearchConfiguration>
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
sourcepub fn kendra_configuration(self, input: QnAKendraConfiguration) -> Self
pub fn kendra_configuration(self, input: QnAKendraConfiguration) -> Self
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.
sourcepub fn set_kendra_configuration(
self,
input: Option<QnAKendraConfiguration>
) -> Self
pub fn set_kendra_configuration( self, input: Option<QnAKendraConfiguration> ) -> Self
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.
sourcepub fn get_kendra_configuration(&self) -> &Option<QnAKendraConfiguration>
pub fn get_kendra_configuration(&self) -> &Option<QnAKendraConfiguration>
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent. To create a Amazon Kendra index, follow the steps at Creating an index.
sourcepub fn bedrock_knowledge_store_configuration(
self,
input: BedrockKnowledgeStoreConfiguration
) -> Self
pub fn bedrock_knowledge_store_configuration( self, input: BedrockKnowledgeStoreConfiguration ) -> Self
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.
sourcepub fn set_bedrock_knowledge_store_configuration(
self,
input: Option<BedrockKnowledgeStoreConfiguration>
) -> Self
pub fn set_bedrock_knowledge_store_configuration( self, input: Option<BedrockKnowledgeStoreConfiguration> ) -> Self
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.
sourcepub fn get_bedrock_knowledge_store_configuration(
&self
) -> &Option<BedrockKnowledgeStoreConfiguration>
pub fn get_bedrock_knowledge_store_configuration( &self ) -> &Option<BedrockKnowledgeStoreConfiguration>
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.
sourcepub fn build(self) -> DataSourceConfiguration
pub fn build(self) -> DataSourceConfiguration
Consumes the builder and constructs a DataSourceConfiguration.
Trait Implementations§
source§impl Clone for DataSourceConfigurationBuilder
impl Clone for DataSourceConfigurationBuilder
source§fn clone(&self) -> DataSourceConfigurationBuilder
fn clone(&self) -> DataSourceConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DataSourceConfigurationBuilder
impl Default for DataSourceConfigurationBuilder
source§fn default() -> DataSourceConfigurationBuilder
fn default() -> DataSourceConfigurationBuilder
source§impl PartialEq for DataSourceConfigurationBuilder
impl PartialEq for DataSourceConfigurationBuilder
source§fn eq(&self, other: &DataSourceConfigurationBuilder) -> bool
fn eq(&self, other: &DataSourceConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.