public static class CreateConnectDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateConnectDescriptor |
build() |
CreateConnectDescriptor.Builder |
connectString(String connectString)
Connect String.
|
CreateConnectDescriptor.Builder |
copy(CreateConnectDescriptor model) |
CreateConnectDescriptor.Builder |
databaseServiceName(String databaseServiceName)
Database service name.
|
CreateConnectDescriptor.Builder |
host(String host)
Host or IP address of the connect descriptor.
|
CreateConnectDescriptor.Builder |
port(Integer port)
Port of the connect descriptor.
|
public CreateConnectDescriptor.Builder host(String host)
Host or IP address of the connect descriptor. Required if no connectString was specified.
host
- the value to setpublic CreateConnectDescriptor.Builder port(Integer port)
Port of the connect descriptor. Required if no connectString was specified.
port
- the value to setpublic CreateConnectDescriptor.Builder databaseServiceName(String databaseServiceName)
Database service name. Required if no connectString was specified.
databaseServiceName
- the value to setpublic CreateConnectDescriptor.Builder connectString(String connectString)
Connect String. Required if no host, port nor databaseServiceName were specified. If a
Private Endpoint was specified in the Connection, the host entry should be a valid IP
address. Supported formats: Easy connect:
connectString
- the value to setpublic CreateConnectDescriptor build()
public CreateConnectDescriptor.Builder copy(CreateConnectDescriptor model)
Copyright © 2016–2023. All rights reserved.