public static final class CfnEnvironment.ModuleLoggingConfigurationProperty.Builder
extends java.lang.Object
CfnEnvironment.ModuleLoggingConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEnvironment.ModuleLoggingConfigurationProperty |
build()
Builds the configured instance.
|
CfnEnvironment.ModuleLoggingConfigurationProperty.Builder |
cloudWatchLogGroupArn(java.lang.String cloudWatchLogGroupArn)
|
CfnEnvironment.ModuleLoggingConfigurationProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnEnvironment.ModuleLoggingConfigurationProperty.getEnabled() |
CfnEnvironment.ModuleLoggingConfigurationProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnEnvironment.ModuleLoggingConfigurationProperty.getEnabled() |
CfnEnvironment.ModuleLoggingConfigurationProperty.Builder |
logLevel(java.lang.String logLevel)
Sets the value of
CfnEnvironment.ModuleLoggingConfigurationProperty.getLogLevel() |
public CfnEnvironment.ModuleLoggingConfigurationProperty.Builder cloudWatchLogGroupArn(java.lang.String cloudWatchLogGroupArn)
cloudWatchLogGroupArn
- The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.
CloudWatchLogGroupArn
is available only as a return value, accessible when specified as an attribute in theFn:GetAtt
intrinsic function. Any value you provide forCloudWatchLogGroupArn
is discarded by Amazon MWAA.
this
public CfnEnvironment.ModuleLoggingConfigurationProperty.Builder enabled(java.lang.Boolean enabled)
CfnEnvironment.ModuleLoggingConfigurationProperty.getEnabled()
enabled
- Indicates whether to enable the Apache Airflow log type (e.g. `DagProcessingLogs` ) in CloudWatch Logs.this
public CfnEnvironment.ModuleLoggingConfigurationProperty.Builder enabled(IResolvable enabled)
CfnEnvironment.ModuleLoggingConfigurationProperty.getEnabled()
enabled
- Indicates whether to enable the Apache Airflow log type (e.g. `DagProcessingLogs` ) in CloudWatch Logs.this
public CfnEnvironment.ModuleLoggingConfigurationProperty.Builder logLevel(java.lang.String logLevel)
CfnEnvironment.ModuleLoggingConfigurationProperty.getLogLevel()
logLevel
- Defines the Apache Airflow logs to send for the log type (e.g. `DagProcessingLogs` ) to CloudWatch Logs. Valid values: `CRITICAL` , `ERROR` , `WARNING` , `INFO` .this
public CfnEnvironment.ModuleLoggingConfigurationProperty build()
CfnEnvironment.ModuleLoggingConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided