Class CfnFirewallRuleGroup.Builder

java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallRuleGroup>
Enclosing class:
CfnFirewallRuleGroup

@Stability(Stable) public static final class CfnFirewallRuleGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnFirewallRuleGroup>
A fluent builder for CfnFirewallRuleGroup.
  • Method Details

    • create

      @Stability(Stable) public static CfnFirewallRuleGroup.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 CfnFirewallRuleGroup.Builder.
    • firewallRules

      @Stability(Stable) public CfnFirewallRuleGroup.Builder firewallRules(IResolvable firewallRules)
      A list of the rules that you have defined.

      Parameters:
      firewallRules - A list of the rules that you have defined. This parameter is required.
      Returns:
      this
    • firewallRules

      @Stability(Stable) public CfnFirewallRuleGroup.Builder firewallRules(List<? extends Object> firewallRules)
      A list of the rules that you have defined.

      Parameters:
      firewallRules - A list of the rules that you have defined. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnFirewallRuleGroup.Builder name(String name)
      The name of the rule group.

      Parameters:
      name - The name of the rule group. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnFirewallRuleGroup.Builder tags(List<? extends CfnTag> tags)
      A list of the tag keys and values that you want to associate with the rule group.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the rule group. This parameter is required.
      Returns:
      this
    • build

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