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 Details

    • create

      @Stability(Stable) public static CfnFirewallPolicy.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFirewallPolicy.Builder.
    • firewallPolicy

      @Stability(Stable) public CfnFirewallPolicy.Builder firewallPolicy(IResolvable 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

      @Stability(Stable) public CfnFirewallPolicy.Builder firewallPolicyName(String 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

      @Stability(Stable) public CfnFirewallPolicy.Builder description(String description)
      A description of the firewall policy.

      Parameters:
      description - A description of the firewall policy. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFirewallPolicy.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnFirewallPolicy build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFirewallPolicy>
      Returns:
      a newly built instance of CfnFirewallPolicy.