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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFirewallRuleGroup.Builder
firewallRules
(List<? extends Object> firewallRules) A list of the rules that you have defined.firewallRules
(IResolvable firewallRules) A list of the rules that you have defined.The name of the rule group.A list of the tag keys and values that you want to associate with the rule group.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFirewallRuleGroup.Builder
.
-
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
The name of the rule group.- Parameters:
name
- The name of the rule group. This parameter is required.- Returns:
this
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewallRuleGroup>
- Returns:
- a newly built instance of
CfnFirewallRuleGroup
.
-