public static class ConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionDetails |
build() |
ConnectionDetails.Builder |
connectorId(String connectorId)
Database connector Identifier
OCID.
|
ConnectionDetails.Builder |
copy(ConnectionDetails model) |
ConnectionDetails.Builder |
dbId(String dbId)
dbId of the database.
|
ConnectionDetails.Builder |
dbUniqueName(String dbUniqueName)
UniqueName used for database connection requests.
|
ConnectionDetails.Builder |
port(Integer port)
Listener Port number used for connection requests.
|
ConnectionDetails.Builder |
protocol(ConnectionDetails.Protocol protocol)
Protocol used in DB connection string when connecting to external database service.
|
ConnectionDetails.Builder |
serviceName(String serviceName)
Service name used for connection requests.
|
ConnectionDetails.Builder |
sslSecretId(String sslSecretId)
SSL Secret Identifier for TCPS connector in OCI
VaultOCID.
|
public ConnectionDetails.Builder protocol(ConnectionDetails.Protocol protocol)
Protocol used in DB connection string when connecting to external database service.
protocol
- the value to setpublic ConnectionDetails.Builder port(Integer port)
Listener Port number used for connection requests.
port
- the value to setpublic ConnectionDetails.Builder connectorId(String connectorId)
Database connector Identifier OCID.
connectorId
- the value to setpublic ConnectionDetails.Builder serviceName(String serviceName)
Service name used for connection requests.
serviceName
- the value to setpublic ConnectionDetails.Builder dbUniqueName(String dbUniqueName)
UniqueName used for database connection requests.
dbUniqueName
- the value to setpublic ConnectionDetails.Builder dbId(String dbId)
dbId of the database.
dbId
- the value to setpublic ConnectionDetails.Builder sslSecretId(String sslSecretId)
SSL Secret Identifier for TCPS connector in OCI VaultOCID.
sslSecretId
- the value to setpublic ConnectionDetails build()
public ConnectionDetails.Builder copy(ConnectionDetails model)
Copyright © 2016–2024. All rights reserved.