#[non_exhaustive]pub struct QnAIntentConfigurationBuilder { /* private fields */ }Expand description
A builder for QnAIntentConfiguration.
Implementations§
source§impl QnAIntentConfigurationBuilder
impl QnAIntentConfigurationBuilder
sourcepub fn data_source_configuration(self, input: DataSourceConfiguration) -> Self
pub fn data_source_configuration(self, input: DataSourceConfiguration) -> Self
Contains details about the configuration of the data source used for the AMAZON.QnAIntent.
sourcepub fn set_data_source_configuration(
self,
input: Option<DataSourceConfiguration>,
) -> Self
pub fn set_data_source_configuration( self, input: Option<DataSourceConfiguration>, ) -> Self
Contains details about the configuration of the data source used for the AMAZON.QnAIntent.
sourcepub fn get_data_source_configuration(&self) -> &Option<DataSourceConfiguration>
pub fn get_data_source_configuration(&self) -> &Option<DataSourceConfiguration>
Contains details about the configuration of the data source used for the AMAZON.QnAIntent.
sourcepub fn bedrock_model_configuration(
self,
input: BedrockModelSpecification,
) -> Self
pub fn bedrock_model_configuration( self, input: BedrockModelSpecification, ) -> Self
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
sourcepub fn set_bedrock_model_configuration(
self,
input: Option<BedrockModelSpecification>,
) -> Self
pub fn set_bedrock_model_configuration( self, input: Option<BedrockModelSpecification>, ) -> Self
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
sourcepub fn get_bedrock_model_configuration(
&self,
) -> &Option<BedrockModelSpecification>
pub fn get_bedrock_model_configuration( &self, ) -> &Option<BedrockModelSpecification>
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
sourcepub fn build(self) -> QnAIntentConfiguration
pub fn build(self) -> QnAIntentConfiguration
Consumes the builder and constructs a QnAIntentConfiguration.
Trait Implementations§
source§impl Clone for QnAIntentConfigurationBuilder
impl Clone for QnAIntentConfigurationBuilder
source§fn clone(&self) -> QnAIntentConfigurationBuilder
fn clone(&self) -> QnAIntentConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for QnAIntentConfigurationBuilder
impl Default for QnAIntentConfigurationBuilder
source§fn default() -> QnAIntentConfigurationBuilder
fn default() -> QnAIntentConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for QnAIntentConfigurationBuilder
impl PartialEq for QnAIntentConfigurationBuilder
source§fn eq(&self, other: &QnAIntentConfigurationBuilder) -> bool
fn eq(&self, other: &QnAIntentConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QnAIntentConfigurationBuilder
Auto Trait Implementations§
impl Freeze for QnAIntentConfigurationBuilder
impl RefUnwindSafe for QnAIntentConfigurationBuilder
impl Send for QnAIntentConfigurationBuilder
impl Sync for QnAIntentConfigurationBuilder
impl Unpin for QnAIntentConfigurationBuilder
impl UnwindSafe for QnAIntentConfigurationBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.