public static class TcpApplication.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TcpApplication |
build() |
TcpApplication.Builder |
copy(TcpApplication model) |
TcpApplication.Builder |
maximumPort(Integer maximumPort)
The maximum port in the range (inclusive), which may be absent for a single-port range.
|
TcpApplication.Builder |
minimumPort(Integer minimumPort)
The minimum port in the range (inclusive), or the sole port of a single-port range.
|
public TcpApplication.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 TcpApplication.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 TcpApplication build()
public TcpApplication.Builder copy(TcpApplication model)
Copyright © 2016–2023. All rights reserved.