Class CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleVariablesProperty>
- Enclosing interface:
CfnRuleGroupPropsMixin.RuleVariablesProperty
@Stability(Stable)
public static final class CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleVariablesProperty>
A builder for
CfnRuleGroupPropsMixin.RuleVariablesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getIpSets()ipSets(IResolvable ipSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getIpSets()Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getPortSets()portSets(IResolvable portSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getPortSets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder ipSets(IResolvable ipSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getIpSets()- Parameters:
ipSets- A list of IP addresses and address ranges, in CIDR notation.- Returns:
this
-
ipSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder ipSets(Map<String, ? extends Object> ipSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getIpSets()- Parameters:
ipSets- A list of IP addresses and address ranges, in CIDR notation.- Returns:
this
-
portSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder portSets(IResolvable portSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getPortSets()- Parameters:
portSets- A list of port ranges.- Returns:
this
-
portSets
@Stability(Stable) public CfnRuleGroupPropsMixin.RuleVariablesProperty.Builder portSets(Map<String, ? extends Object> portSets) Sets the value ofCfnRuleGroupPropsMixin.RuleVariablesProperty.getPortSets()- Parameters:
portSets- A list of port ranges.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuleGroupPropsMixin.RuleVariablesProperty>- Returns:
- a new instance of
CfnRuleGroupPropsMixin.RuleVariablesProperty - Throws:
NullPointerException- if any required attribute was not provided
-