Struct aws_sdk_lexmodelsv2::types::builders::TextLogSettingBuilder
source · #[non_exhaustive]pub struct TextLogSettingBuilder { /* private fields */ }
Expand description
A builder for TextLogSetting
.
Implementations§
source§impl TextLogSettingBuilder
impl TextLogSettingBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Determines whether conversation logs should be stored for an alias.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Determines whether conversation logs should be stored for an alias.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Determines whether conversation logs should be stored for an alias.
sourcepub fn destination(self, input: TextLogDestination) -> Self
pub fn destination(self, input: TextLogDestination) -> Self
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
This field is required.sourcepub fn set_destination(self, input: Option<TextLogDestination>) -> Self
pub fn set_destination(self, input: Option<TextLogDestination>) -> Self
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
sourcepub fn get_destination(&self) -> &Option<TextLogDestination>
pub fn get_destination(&self) -> &Option<TextLogDestination>
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
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 text.
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 text.
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 text.
sourcepub fn build(self) -> TextLogSetting
pub fn build(self) -> TextLogSetting
Consumes the builder and constructs a TextLogSetting
.
Trait Implementations§
source§impl Clone for TextLogSettingBuilder
impl Clone for TextLogSettingBuilder
source§fn clone(&self) -> TextLogSettingBuilder
fn clone(&self) -> TextLogSettingBuilder
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 TextLogSettingBuilder
impl Debug for TextLogSettingBuilder
source§impl Default for TextLogSettingBuilder
impl Default for TextLogSettingBuilder
source§fn default() -> TextLogSettingBuilder
fn default() -> TextLogSettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TextLogSettingBuilder
impl PartialEq for TextLogSettingBuilder
source§fn eq(&self, other: &TextLogSettingBuilder) -> bool
fn eq(&self, other: &TextLogSettingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextLogSettingBuilder
Auto Trait Implementations§
impl Freeze for TextLogSettingBuilder
impl RefUnwindSafe for TextLogSettingBuilder
impl Send for TextLogSettingBuilder
impl Sync for TextLogSettingBuilder
impl Unpin for TextLogSettingBuilder
impl UnwindSafe for TextLogSettingBuilder
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.