#[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 ==
.impl StructuralPartialEq for DataSourceConfigurationBuilder
Auto Trait Implementations§
impl Freeze for DataSourceConfigurationBuilder
impl RefUnwindSafe for DataSourceConfigurationBuilder
impl Send for DataSourceConfigurationBuilder
impl Sync for DataSourceConfigurationBuilder
impl Unpin for DataSourceConfigurationBuilder
impl UnwindSafe for DataSourceConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more