@Stability(value=Stable) public static final class CfnListener.PortRangeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnListener.PortRangeProperty>
CfnListener.PortRangeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnListener.PortRangeProperty |
build()
Builds the configured instance.
|
CfnListener.PortRangeProperty.Builder |
fromPort(Number fromPort)
Sets the value of
CfnListener.PortRangeProperty.getFromPort() |
CfnListener.PortRangeProperty.Builder |
toPort(Number toPort)
Sets the value of
CfnListener.PortRangeProperty.getToPort() |
@Stability(value=Stable) public CfnListener.PortRangeProperty.Builder fromPort(Number fromPort)
CfnListener.PortRangeProperty.getFromPort()fromPort - The first port in the range of ports, inclusive. This parameter is required.this@Stability(value=Stable) public CfnListener.PortRangeProperty.Builder toPort(Number toPort)
CfnListener.PortRangeProperty.getToPort()toPort - The last port in the range of ports, inclusive. This parameter is required.this@Stability(value=Stable) public CfnListener.PortRangeProperty build()
build in interface software.amazon.jsii.Builder<CfnListener.PortRangeProperty>CfnListener.PortRangePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.