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