#[non_exhaustive]pub struct LogConfigurationTypeBuilder { /* private fields */ }
Expand description
A builder for LogConfigurationType
.
Implementations§
source§impl LogConfigurationTypeBuilder
impl LogConfigurationTypeBuilder
sourcepub fn log_level(self, input: LogLevel) -> Self
pub fn log_level(self, input: LogLevel) -> Self
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
sourcepub fn get_log_level(&self) -> &Option<LogLevel>
pub fn get_log_level(&self) -> &Option<LogLevel>
The errorlevel
selection of logs that a user pool sends for detailed activity logging.
sourcepub fn event_source(self, input: EventSourceName) -> Self
pub fn event_source(self, input: EventSourceName) -> Self
The source of events that your user pool sends for detailed activity logging.
This field is required.sourcepub fn set_event_source(self, input: Option<EventSourceName>) -> Self
pub fn set_event_source(self, input: Option<EventSourceName>) -> Self
The source of events that your user pool sends for detailed activity logging.
sourcepub fn get_event_source(&self) -> &Option<EventSourceName>
pub fn get_event_source(&self) -> &Option<EventSourceName>
The source of events that your user pool sends for detailed activity logging.
sourcepub fn cloud_watch_logs_configuration(
self,
input: CloudWatchLogsConfigurationType,
) -> Self
pub fn cloud_watch_logs_configuration( self, input: CloudWatchLogsConfigurationType, ) -> Self
The CloudWatch logging destination of a user pool.
sourcepub fn set_cloud_watch_logs_configuration(
self,
input: Option<CloudWatchLogsConfigurationType>,
) -> Self
pub fn set_cloud_watch_logs_configuration( self, input: Option<CloudWatchLogsConfigurationType>, ) -> Self
The CloudWatch logging destination of a user pool.
sourcepub fn get_cloud_watch_logs_configuration(
&self,
) -> &Option<CloudWatchLogsConfigurationType>
pub fn get_cloud_watch_logs_configuration( &self, ) -> &Option<CloudWatchLogsConfigurationType>
The CloudWatch logging destination of a user pool.
sourcepub fn build(self) -> Result<LogConfigurationType, BuildError>
pub fn build(self) -> Result<LogConfigurationType, BuildError>
Consumes the builder and constructs a LogConfigurationType
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LogConfigurationTypeBuilder
impl Clone for LogConfigurationTypeBuilder
source§fn clone(&self) -> LogConfigurationTypeBuilder
fn clone(&self) -> LogConfigurationTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogConfigurationTypeBuilder
impl Debug for LogConfigurationTypeBuilder
source§impl Default for LogConfigurationTypeBuilder
impl Default for LogConfigurationTypeBuilder
source§fn default() -> LogConfigurationTypeBuilder
fn default() -> LogConfigurationTypeBuilder
source§impl PartialEq for LogConfigurationTypeBuilder
impl PartialEq for LogConfigurationTypeBuilder
source§fn eq(&self, other: &LogConfigurationTypeBuilder) -> bool
fn eq(&self, other: &LogConfigurationTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogConfigurationTypeBuilder
Auto Trait Implementations§
impl Freeze for LogConfigurationTypeBuilder
impl RefUnwindSafe for LogConfigurationTypeBuilder
impl Send for LogConfigurationTypeBuilder
impl Sync for LogConfigurationTypeBuilder
impl Unpin for LogConfigurationTypeBuilder
impl UnwindSafe for LogConfigurationTypeBuilder
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