#[non_exhaustive]pub struct LoggingConfigBuilder { /* private fields */ }
Expand description
A builder for LoggingConfig
.
Implementations§
source§impl LoggingConfigBuilder
impl LoggingConfigBuilder
sourcepub fn log_role_arn(self, input: impl Into<String>) -> Self
pub fn log_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
This field is required.sourcepub fn set_log_role_arn(self, input: Option<String>) -> Self
pub fn set_log_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
sourcepub fn get_log_role_arn(&self) -> &Option<String>
pub fn get_log_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
This field is required.sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
sourcepub fn build(self) -> LoggingConfig
pub fn build(self) -> LoggingConfig
Consumes the builder and constructs a LoggingConfig
.
Trait Implementations§
source§impl Clone for LoggingConfigBuilder
impl Clone for LoggingConfigBuilder
source§fn clone(&self) -> LoggingConfigBuilder
fn clone(&self) -> LoggingConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingConfigBuilder
impl Debug for LoggingConfigBuilder
source§impl Default for LoggingConfigBuilder
impl Default for LoggingConfigBuilder
source§fn default() -> LoggingConfigBuilder
fn default() -> LoggingConfigBuilder
source§impl PartialEq for LoggingConfigBuilder
impl PartialEq for LoggingConfigBuilder
source§fn eq(&self, other: &LoggingConfigBuilder) -> bool
fn eq(&self, other: &LoggingConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingConfigBuilder
Auto Trait Implementations§
impl Freeze for LoggingConfigBuilder
impl RefUnwindSafe for LoggingConfigBuilder
impl Send for LoggingConfigBuilder
impl Sync for LoggingConfigBuilder
impl Unpin for LoggingConfigBuilder
impl UnwindSafe for LoggingConfigBuilder
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