#[non_exhaustive]pub struct GenerativeAiSettingsBuilder { /* private fields */ }Expand description
A builder for GenerativeAiSettings.
Implementations§
source§impl GenerativeAiSettingsBuilder
impl GenerativeAiSettingsBuilder
sourcepub fn runtime_settings(self, input: RuntimeSettings) -> Self
pub fn runtime_settings(self, input: RuntimeSettings) -> Self
Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn set_runtime_settings(self, input: Option<RuntimeSettings>) -> Self
pub fn set_runtime_settings(self, input: Option<RuntimeSettings>) -> Self
Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn get_runtime_settings(&self) -> &Option<RuntimeSettings>
pub fn get_runtime_settings(&self) -> &Option<RuntimeSettings>
Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn buildtime_settings(self, input: BuildtimeSettings) -> Self
pub fn buildtime_settings(self, input: BuildtimeSettings) -> Self
Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn set_buildtime_settings(self, input: Option<BuildtimeSettings>) -> Self
pub fn set_buildtime_settings(self, input: Option<BuildtimeSettings>) -> Self
Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn get_buildtime_settings(&self) -> &Option<BuildtimeSettings>
pub fn get_buildtime_settings(&self) -> &Option<BuildtimeSettings>
Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn build(self) -> GenerativeAiSettings
pub fn build(self) -> GenerativeAiSettings
Consumes the builder and constructs a GenerativeAiSettings.
Trait Implementations§
source§impl Clone for GenerativeAiSettingsBuilder
impl Clone for GenerativeAiSettingsBuilder
source§fn clone(&self) -> GenerativeAiSettingsBuilder
fn clone(&self) -> GenerativeAiSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GenerativeAiSettingsBuilder
impl Debug for GenerativeAiSettingsBuilder
source§impl Default for GenerativeAiSettingsBuilder
impl Default for GenerativeAiSettingsBuilder
source§fn default() -> GenerativeAiSettingsBuilder
fn default() -> GenerativeAiSettingsBuilder
impl StructuralPartialEq for GenerativeAiSettingsBuilder
Auto Trait Implementations§
impl Freeze for GenerativeAiSettingsBuilder
impl RefUnwindSafe for GenerativeAiSettingsBuilder
impl Send for GenerativeAiSettingsBuilder
impl Sync for GenerativeAiSettingsBuilder
impl Unpin for GenerativeAiSettingsBuilder
impl UnwindSafe for GenerativeAiSettingsBuilder
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> 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)
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>
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