public static class ConnectDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectDescriptor |
build() |
ConnectDescriptor.Builder |
connectString(String connectString)
Connect string.
|
ConnectDescriptor.Builder |
copy(ConnectDescriptor model) |
ConnectDescriptor.Builder |
databaseServiceName(String databaseServiceName)
Database service name.
|
ConnectDescriptor.Builder |
host(String host)
Host of the connect descriptor.
|
ConnectDescriptor.Builder |
port(Integer port)
Port of the connect descriptor.
|
public ConnectDescriptor.Builder host(String host)
Host of the connect descriptor.
host
- the value to setpublic ConnectDescriptor.Builder port(Integer port)
Port of the connect descriptor.
port
- the value to setpublic ConnectDescriptor.Builder databaseServiceName(String databaseServiceName)
Database service name.
databaseServiceName
- the value to setpublic ConnectDescriptor.Builder connectString(String connectString)
Connect string.
connectString
- the value to setpublic ConnectDescriptor build()
public ConnectDescriptor.Builder copy(ConnectDescriptor model)
Copyright © 2016–2023. All rights reserved.