Class CfnFirewallPolicy.PolicyVariablesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallPolicy.PolicyVariablesProperty>
- Enclosing interface:
CfnFirewallPolicy.PolicyVariablesProperty
@Stability(Stable)
public static final class CfnFirewallPolicy.PolicyVariablesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallPolicy.PolicyVariablesProperty>
A builder for
CfnFirewallPolicy.PolicyVariablesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ruleVariables(Map<String, ? extends Object> ruleVariables) Sets the value ofCfnFirewallPolicy.PolicyVariablesProperty.getRuleVariables()ruleVariables(IResolvable ruleVariables) Sets the value ofCfnFirewallPolicy.PolicyVariablesProperty.getRuleVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleVariables
@Stability(Stable) public CfnFirewallPolicy.PolicyVariablesProperty.Builder ruleVariables(IResolvable ruleVariables) Sets the value ofCfnFirewallPolicy.PolicyVariablesProperty.getRuleVariables()- Parameters:
ruleVariables- The IPv4 or IPv6 addresses in CIDR notation to use for the SuricataHOME_NETvariable. If your firewall uses an inspection VPC, you might want to override theHOME_NETvariable with the CIDRs of your home networks. If you don't overrideHOME_NETwith your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.- Returns:
this
-
ruleVariables
@Stability(Stable) public CfnFirewallPolicy.PolicyVariablesProperty.Builder ruleVariables(Map<String, ? extends Object> ruleVariables) Sets the value ofCfnFirewallPolicy.PolicyVariablesProperty.getRuleVariables()- Parameters:
ruleVariables- The IPv4 or IPv6 addresses in CIDR notation to use for the SuricataHOME_NETvariable. If your firewall uses an inspection VPC, you might want to override theHOME_NETvariable with the CIDRs of your home networks. If you don't overrideHOME_NETwith your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallPolicy.PolicyVariablesProperty>- Returns:
- a new instance of
CfnFirewallPolicy.PolicyVariablesProperty - Throws:
NullPointerException- if any required attribute was not provided
-