Modifier and Type | Method and Description |
---|---|
Port |
build() |
static Port.Builder |
create() |
Port.Builder |
fromPort(Number fromPort)
The starting port for the range.
|
Port.Builder |
protocol(Protocol protocol)
The protocol for the range.
|
Port.Builder |
stringRepresentation(String stringRepresentation)
String representation for this object.
|
Port.Builder |
toPort(Number toPort)
The ending port for the range.
|
@Stability(value=Stable) public static Port.Builder create()
Port.Builder
.@Stability(value=Stable) public Port.Builder protocol(Protocol protocol)
protocol
- The protocol for the range. This parameter is required.this
@Stability(value=Stable) public Port.Builder stringRepresentation(String stringRepresentation)
stringRepresentation
- String representation for this object. This parameter is required.this
@Stability(value=Stable) public Port.Builder fromPort(Number fromPort)
Default: - Not included in the rule
fromPort
- The starting port for the range. This parameter is required.this
@Stability(value=Stable) public Port.Builder toPort(Number toPort)
Default: - Not included in the rule
toPort
- The ending port for the range. This parameter is required.this
Copyright © 2020. All rights reserved.