Class CfnFirewallPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallPolicy>
- Enclosing class:
- CfnFirewallPolicy
@Stability(Stable)
public static final class CfnFirewallPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallPolicy>
A fluent builder for
CfnFirewallPolicy.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnFirewallPolicy.Builderdescription(String description) A description of the firewall policy.firewallPolicy(IResolvable firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.firewallPolicy(CfnFirewallPolicy.FirewallPolicyProperty firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.firewallPolicyName(String firewallPolicyName) The descriptive name of the firewall policy.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnFirewallPolicy.Builder.
-
firewallPolicy
The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Parameters:
firewallPolicy- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings. This parameter is required.- Returns:
this
-
firewallPolicy
@Stability(Stable) public CfnFirewallPolicy.Builder firewallPolicy(CfnFirewallPolicy.FirewallPolicyProperty firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Parameters:
firewallPolicy- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings. This parameter is required.- Returns:
this
-
firewallPolicyName
The descriptive name of the firewall policy.You can't change the name of a firewall policy after you create it.
- Parameters:
firewallPolicyName- The descriptive name of the firewall policy. This parameter is required.- Returns:
this
-
description
A description of the firewall policy.- Parameters:
description- A description of the firewall policy. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallPolicy>- Returns:
- a newly built instance of
CfnFirewallPolicy.
-