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