Class CfnLoggingConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnLoggingConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfigurationMixinProps>
- Enclosing interface:
CfnLoggingConfigurationMixinProps
@Stability(Stable)
public static final class CfnLoggingConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfigurationMixinProps>
A builder for
CfnLoggingConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableMonitoringDashboard(Boolean enableMonitoringDashboard) Sets the value ofCfnLoggingConfigurationMixinProps.getEnableMonitoringDashboard()enableMonitoringDashboard(IResolvable enableMonitoringDashboard) Sets the value ofCfnLoggingConfigurationMixinProps.getEnableMonitoringDashboard()firewallArn(String firewallArn) Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallArn()firewallArn(IFirewallRef firewallArn) Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallArn()firewallName(String firewallName) Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallName()loggingConfiguration(CfnLoggingConfigurationPropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnLoggingConfigurationMixinProps.getLoggingConfiguration()loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnLoggingConfigurationMixinProps.getLoggingConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableMonitoringDashboard
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder enableMonitoringDashboard(Boolean enableMonitoringDashboard) Sets the value ofCfnLoggingConfigurationMixinProps.getEnableMonitoringDashboard()- Parameters:
enableMonitoringDashboard- the value to be set.- Returns:
this
-
enableMonitoringDashboard
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder enableMonitoringDashboard(IResolvable enableMonitoringDashboard) Sets the value ofCfnLoggingConfigurationMixinProps.getEnableMonitoringDashboard()- Parameters:
enableMonitoringDashboard- the value to be set.- Returns:
this
-
firewallArn
Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallArn()- Parameters:
firewallArn- The Amazon Resource Name (ARN) of the firewallthat the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.- Returns:
this
-
firewallArn
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder firewallArn(IFirewallRef firewallArn) Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallArn()- Parameters:
firewallArn- The Amazon Resource Name (ARN) of the firewallthat the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.- Returns:
this
-
firewallName
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder firewallName(String firewallName) Sets the value ofCfnLoggingConfigurationMixinProps.getFirewallName()- Parameters:
firewallName- The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnLoggingConfigurationMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Defines how AWS Network Firewall performs logging for a firewall.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnLoggingConfigurationMixinProps.Builder loggingConfiguration(CfnLoggingConfigurationPropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnLoggingConfigurationMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Defines how AWS Network Firewall performs logging for a firewall.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggingConfigurationMixinProps>- Returns:
- a new instance of
CfnLoggingConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-