Class CfnEnvironment.LoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mwaa.CfnEnvironment.LoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.LoggingConfigurationProperty>
- Enclosing interface:
- CfnEnvironment.LoggingConfigurationProperty
@Stability(Stable)
public static final class CfnEnvironment.LoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.LoggingConfigurationProperty>
A builder for
CfnEnvironment.LoggingConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dagProcessingLogs
(IResolvable dagProcessingLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getDagProcessingLogs()
dagProcessingLogs
(CfnEnvironment.ModuleLoggingConfigurationProperty dagProcessingLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getDagProcessingLogs()
schedulerLogs
(IResolvable schedulerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getSchedulerLogs()
schedulerLogs
(CfnEnvironment.ModuleLoggingConfigurationProperty schedulerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getSchedulerLogs()
taskLogs
(IResolvable taskLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getTaskLogs()
Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getTaskLogs()
webserverLogs
(IResolvable webserverLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWebserverLogs()
webserverLogs
(CfnEnvironment.ModuleLoggingConfigurationProperty webserverLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWebserverLogs()
workerLogs
(IResolvable workerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWorkerLogs()
Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWorkerLogs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dagProcessingLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder dagProcessingLogs(IResolvable dagProcessingLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getDagProcessingLogs()
- Parameters:
dagProcessingLogs
- Defines the processing logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
dagProcessingLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder dagProcessingLogs(CfnEnvironment.ModuleLoggingConfigurationProperty dagProcessingLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getDagProcessingLogs()
- Parameters:
dagProcessingLogs
- Defines the processing logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
schedulerLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder schedulerLogs(IResolvable schedulerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getSchedulerLogs()
- Parameters:
schedulerLogs
- Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
schedulerLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder schedulerLogs(CfnEnvironment.ModuleLoggingConfigurationProperty schedulerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getSchedulerLogs()
- Parameters:
schedulerLogs
- Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
taskLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder taskLogs(IResolvable taskLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getTaskLogs()
- Parameters:
taskLogs
- Defines the task logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
taskLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder taskLogs(CfnEnvironment.ModuleLoggingConfigurationProperty taskLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getTaskLogs()
- Parameters:
taskLogs
- Defines the task logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
webserverLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder webserverLogs(IResolvable webserverLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWebserverLogs()
- Parameters:
webserverLogs
- Defines the web server logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
webserverLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder webserverLogs(CfnEnvironment.ModuleLoggingConfigurationProperty webserverLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWebserverLogs()
- Parameters:
webserverLogs
- Defines the web server logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
workerLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder workerLogs(IResolvable workerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWorkerLogs()
- Parameters:
workerLogs
- Defines the worker logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
workerLogs
@Stability(Stable) public CfnEnvironment.LoggingConfigurationProperty.Builder workerLogs(CfnEnvironment.ModuleLoggingConfigurationProperty workerLogs) Sets the value ofCfnEnvironment.LoggingConfigurationProperty.getWorkerLogs()
- Parameters:
workerLogs
- Defines the worker logs sent to CloudWatch Logs and the logging level to send.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment.LoggingConfigurationProperty>
- Returns:
- a new instance of
CfnEnvironment.LoggingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-