@Stability(value=Stable) public static final class CfnRuleGroup.PortRangeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.PortRangeProperty>
CfnRuleGroup.PortRangeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup.PortRangeProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.PortRangeProperty.Builder |
fromPort(Number fromPort)
Sets the value of
CfnRuleGroup.PortRangeProperty.getFromPort() |
CfnRuleGroup.PortRangeProperty.Builder |
toPort(Number toPort)
Sets the value of
CfnRuleGroup.PortRangeProperty.getToPort() |
@Stability(value=Stable) public CfnRuleGroup.PortRangeProperty.Builder fromPort(Number fromPort)
CfnRuleGroup.PortRangeProperty.getFromPort()fromPort - The lower limit of the port range. This parameter is required.
This must be less than or equal to the ToPort specification.this@Stability(value=Stable) public CfnRuleGroup.PortRangeProperty.Builder toPort(Number toPort)
CfnRuleGroup.PortRangeProperty.getToPort()toPort - The upper limit of the port range. This parameter is required.
This must be greater than or equal to the FromPort specification.this@Stability(value=Stable) public CfnRuleGroup.PortRangeProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.PortRangeProperty>CfnRuleGroup.PortRangePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.