Struct aws_sdk_lexmodelsv2::types::builders::AudioLogSettingBuilder
source · #[non_exhaustive]pub struct AudioLogSettingBuilder { /* private fields */ }Expand description
A builder for AudioLogSetting.
Implementations§
source§impl AudioLogSettingBuilder
impl AudioLogSettingBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Determines whether audio logging in enabled for the bot.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Determines whether audio logging in enabled for the bot.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Determines whether audio logging in enabled for the bot.
sourcepub fn destination(self, input: AudioLogDestination) -> Self
pub fn destination(self, input: AudioLogDestination) -> Self
The location of audio log files collected when conversation logging is enabled for a bot.
This field is required.sourcepub fn set_destination(self, input: Option<AudioLogDestination>) -> Self
pub fn set_destination(self, input: Option<AudioLogDestination>) -> Self
The location of audio log files collected when conversation logging is enabled for a bot.
sourcepub fn get_destination(&self) -> &Option<AudioLogDestination>
pub fn get_destination(&self) -> &Option<AudioLogDestination>
The location of audio log files collected when conversation logging is enabled for a bot.
sourcepub fn selective_logging_enabled(self, input: bool) -> Self
pub fn selective_logging_enabled(self, input: bool) -> Self
The option to enable selective conversation log capture for audio.
sourcepub fn set_selective_logging_enabled(self, input: Option<bool>) -> Self
pub fn set_selective_logging_enabled(self, input: Option<bool>) -> Self
The option to enable selective conversation log capture for audio.
sourcepub fn get_selective_logging_enabled(&self) -> &Option<bool>
pub fn get_selective_logging_enabled(&self) -> &Option<bool>
The option to enable selective conversation log capture for audio.
sourcepub fn build(self) -> AudioLogSetting
pub fn build(self) -> AudioLogSetting
Consumes the builder and constructs a AudioLogSetting.
Trait Implementations§
source§impl Clone for AudioLogSettingBuilder
impl Clone for AudioLogSettingBuilder
source§fn clone(&self) -> AudioLogSettingBuilder
fn clone(&self) -> AudioLogSettingBuilder
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 Debug for AudioLogSettingBuilder
impl Debug for AudioLogSettingBuilder
source§impl Default for AudioLogSettingBuilder
impl Default for AudioLogSettingBuilder
source§fn default() -> AudioLogSettingBuilder
fn default() -> AudioLogSettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AudioLogSettingBuilder
impl PartialEq for AudioLogSettingBuilder
source§fn eq(&self, other: &AudioLogSettingBuilder) -> bool
fn eq(&self, other: &AudioLogSettingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AudioLogSettingBuilder
Auto Trait Implementations§
impl Freeze for AudioLogSettingBuilder
impl RefUnwindSafe for AudioLogSettingBuilder
impl Send for AudioLogSettingBuilder
impl Sync for AudioLogSettingBuilder
impl Unpin for AudioLogSettingBuilder
impl UnwindSafe for AudioLogSettingBuilder
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> 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.