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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.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 theFirewall
that 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 aFirewall
. 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 aFirewall
. This parameter is required.- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfigurationProps>
- Returns:
- a new instance of
CfnLoggingConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-