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