| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PortProps |
build()
Builds the configured instance.
|
PortProps.Builder |
fromPort(Number fromPort)
Sets the value of
PortProps.getFromPort() |
PortProps.Builder |
protocol(Protocol protocol)
Sets the value of
PortProps.getProtocol() |
PortProps.Builder |
stringRepresentation(String stringRepresentation)
Sets the value of
PortProps.getStringRepresentation() |
PortProps.Builder |
toPort(Number toPort)
Sets the value of
PortProps.getToPort() |
@Stability(value=Stable) public PortProps.Builder protocol(Protocol protocol)
PortProps.getProtocol()protocol - The protocol for the range. This parameter is required.this@Stability(value=Stable) public PortProps.Builder stringRepresentation(String stringRepresentation)
PortProps.getStringRepresentation()stringRepresentation - String representation for this object. This parameter is required.this@Stability(value=Stable) public PortProps.Builder fromPort(Number fromPort)
PortProps.getFromPort()fromPort - The starting port for the range.this@Stability(value=Stable) public PortProps.Builder toPort(Number toPort)
PortProps.getToPort()toPort - The ending port for the range.this@Stability(value=Stable) public PortProps build()
build in interface software.amazon.jsii.Builder<PortProps>PortPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.