Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PortRange |
build() |
PortRange.Builder |
copy(PortRange model) |
PortRange.Builder |
maximumPort(Integer maximumPort)
The maximum port in the range (inclusive), which may be absent for a single-port range.
|
PortRange.Builder |
minimumPort(Integer minimumPort)
The minimum port in the range (inclusive), or the sole port of a single-port range.
|
public PortRange.Builder minimumPort(Integer minimumPort)
The minimum port in the range (inclusive), or the sole port of a single-port range.
minimumPort
- the value to setpublic PortRange.Builder maximumPort(Integer maximumPort)
The maximum port in the range (inclusive), which may be absent for a single-port range.
maximumPort
- the value to setpublic PortRange build()
public PortRange.Builder copy(PortRange model)
Copyright © 2016–2024. All rights reserved.