#[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 ==
.