public static class ConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionDetails |
build() |
ConnectionDetails.Builder |
copy(ConnectionDetails model) |
ConnectionDetails.Builder |
hostName(String hostName)
Name of the listener host that will be used to create the connect string to the database.
|
ConnectionDetails.Builder |
port(Integer port)
Listener port number used for connection requests.
|
ConnectionDetails.Builder |
protocol(ConnectionDetails.Protocol protocol)
Protocol used for connection requests.
|
ConnectionDetails.Builder |
serviceName(String serviceName)
Database service name used for connection requests.
|
public ConnectionDetails.Builder hostName(String hostName)
Name of the listener host that will be used to create the connect string to the database.
hostName
- the value to setpublic ConnectionDetails.Builder protocol(ConnectionDetails.Protocol protocol)
Protocol used for connection requests.
protocol
- the value to setpublic ConnectionDetails.Builder port(Integer port)
Listener port number used for connection requests.
port
- the value to setpublic ConnectionDetails.Builder serviceName(String serviceName)
Database service name used for connection requests.
serviceName
- the value to setpublic ConnectionDetails build()
public ConnectionDetails.Builder copy(ConnectionDetails model)
Copyright © 2016–2024. All rights reserved.