Class CfnFirewallRuleGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallRuleGroupProps>
- Enclosing interface:
CfnFirewallRuleGroupProps
@Stability(Stable)
public static final class CfnFirewallRuleGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallRuleGroupProps>
A builder for
CfnFirewallRuleGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.firewallRules
(List<? extends Object> firewallRules) Sets the value ofCfnFirewallRuleGroupProps.getFirewallRules()
firewallRules
(IResolvable firewallRules) Sets the value ofCfnFirewallRuleGroupProps.getFirewallRules()
Sets the value ofCfnFirewallRuleGroupProps.getName()
Sets the value ofCfnFirewallRuleGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
firewallRules
@Stability(Stable) public CfnFirewallRuleGroupProps.Builder firewallRules(IResolvable firewallRules) Sets the value ofCfnFirewallRuleGroupProps.getFirewallRules()
- Parameters:
firewallRules
- A list of the rules that you have defined.- Returns:
this
-
firewallRules
@Stability(Stable) public CfnFirewallRuleGroupProps.Builder firewallRules(List<? extends Object> firewallRules) Sets the value ofCfnFirewallRuleGroupProps.getFirewallRules()
- Parameters:
firewallRules
- A list of the rules that you have defined.- Returns:
this
-
name
Sets the value ofCfnFirewallRuleGroupProps.getName()
- Parameters:
name
- The name of the rule group.- Returns:
this
-
tags
Sets the value ofCfnFirewallRuleGroupProps.getTags()
- Parameters:
tags
- A list of the tag keys and values that you want to associate with the rule group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewallRuleGroupProps>
- Returns:
- a new instance of
CfnFirewallRuleGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-