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 model) |
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 model)
Copyright © 2016–2024. All rights reserved.