#[non_exhaustive]pub struct ModuleLoggingConfigurationBuilder { /* private fields */ }Expand description
A builder for ModuleLoggingConfiguration.
Implementations§
source§impl ModuleLoggingConfigurationBuilder
 
impl ModuleLoggingConfigurationBuilder
sourcepub fn enabled(self, input: bool) -> Self
 
pub fn enabled(self, input: bool) -> Self
Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
 
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
 
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.
sourcepub fn log_level(self, input: LoggingLevel) -> Self
 
pub fn log_level(self, input: LoggingLevel) -> Self
The Apache Airflow log level for the log type (e.g. DagProcessingLogs).
sourcepub fn set_log_level(self, input: Option<LoggingLevel>) -> Self
 
pub fn set_log_level(self, input: Option<LoggingLevel>) -> Self
The Apache Airflow log level for the log type (e.g. DagProcessingLogs).
sourcepub fn get_log_level(&self) -> &Option<LoggingLevel>
 
pub fn get_log_level(&self) -> &Option<LoggingLevel>
The Apache Airflow log level for the log type (e.g. DagProcessingLogs).
sourcepub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
 
pub fn cloud_watch_log_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.
sourcepub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
 
pub fn set_cloud_watch_log_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.
sourcepub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
 
pub fn get_cloud_watch_log_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.
sourcepub fn build(self) -> ModuleLoggingConfiguration
 
pub fn build(self) -> ModuleLoggingConfiguration
Consumes the builder and constructs a ModuleLoggingConfiguration.
Trait Implementations§
source§impl Clone for ModuleLoggingConfigurationBuilder
 
impl Clone for ModuleLoggingConfigurationBuilder
source§fn clone(&self) -> ModuleLoggingConfigurationBuilder
 
fn clone(&self) -> ModuleLoggingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModuleLoggingConfigurationBuilder
 
impl Default for ModuleLoggingConfigurationBuilder
source§fn default() -> ModuleLoggingConfigurationBuilder
 
fn default() -> ModuleLoggingConfigurationBuilder
source§impl PartialEq for ModuleLoggingConfigurationBuilder
 
impl PartialEq for ModuleLoggingConfigurationBuilder
source§fn eq(&self, other: &ModuleLoggingConfigurationBuilder) -> bool
 
fn eq(&self, other: &ModuleLoggingConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.