public static class Connection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Connection.Builder |
address(String address)
The connection IP address.
|
Connection |
build() |
Connection.Builder |
copy(Connection o) |
Connection.Builder |
port(Integer port)
The port.
|
public Connection.Builder address(String address)
The connection IP address.
address
- the value to setpublic Connection.Builder port(Integer port)
The port.
port
- the value to setpublic Connection build()
public Connection.Builder copy(Connection o)
Copyright © 2016–2022. All rights reserved.