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