Struct aws_sdk_cognitoidentityprovider::types::builders::CloudWatchLogsConfigurationTypeBuilder
source · #[non_exhaustive]pub struct CloudWatchLogsConfigurationTypeBuilder { /* private fields */ }
Expand description
A builder for CloudWatchLogsConfigurationType
.
Implementations§
source§impl CloudWatchLogsConfigurationTypeBuilder
impl CloudWatchLogsConfigurationTypeBuilder
sourcepub fn log_group_arn(self, input: impl Into<String>) -> Self
pub fn log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
sourcepub fn set_log_group_arn(self, input: Option<String>) -> Self
pub fn set_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
sourcepub fn get_log_group_arn(&self) -> &Option<String>
pub fn get_log_group_arn(&self) -> &Option<String>
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
sourcepub fn build(self) -> CloudWatchLogsConfigurationType
pub fn build(self) -> CloudWatchLogsConfigurationType
Consumes the builder and constructs a CloudWatchLogsConfigurationType
.
Trait Implementations§
source§impl Clone for CloudWatchLogsConfigurationTypeBuilder
impl Clone for CloudWatchLogsConfigurationTypeBuilder
source§fn clone(&self) -> CloudWatchLogsConfigurationTypeBuilder
fn clone(&self) -> CloudWatchLogsConfigurationTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CloudWatchLogsConfigurationTypeBuilder
impl Default for CloudWatchLogsConfigurationTypeBuilder
source§fn default() -> CloudWatchLogsConfigurationTypeBuilder
fn default() -> CloudWatchLogsConfigurationTypeBuilder
source§impl PartialEq for CloudWatchLogsConfigurationTypeBuilder
impl PartialEq for CloudWatchLogsConfigurationTypeBuilder
source§fn eq(&self, other: &CloudWatchLogsConfigurationTypeBuilder) -> bool
fn eq(&self, other: &CloudWatchLogsConfigurationTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudWatchLogsConfigurationTypeBuilder
Auto Trait Implementations§
impl Freeze for CloudWatchLogsConfigurationTypeBuilder
impl RefUnwindSafe for CloudWatchLogsConfigurationTypeBuilder
impl Send for CloudWatchLogsConfigurationTypeBuilder
impl Sync for CloudWatchLogsConfigurationTypeBuilder
impl Unpin for CloudWatchLogsConfigurationTypeBuilder
impl UnwindSafe for CloudWatchLogsConfigurationTypeBuilder
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