Class ConnectionProperties.Builder
java.lang.Object
de.xima.fc.persistence.ConnectionProperties.Builder
- Enclosing class:
ConnectionProperties
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionbuild()connectionIdentifier(ConnectionIdentifier connectionIdentifier) The connection identifier which uniquely identifies the database connection.The JDBC URL for database connection.password(char[] password) The password for database authentication.poolProperties(ConnectionPoolProperties poolProperties) The connection pool properties for this connection.tlsScope(ConnectionProperties.TlsScope tlsScope) Optional.toString()The username for database authentication.
-
Method Details
-
connectionIdentifier
The connection identifier which uniquely identifies the database connection. Required for managed connections.- Returns:
this.
-
jdbcUrl
The JDBC URL for database connection.- Returns:
this.
-
username
The username for database authentication.- Returns:
this.
-
password
The password for database authentication.- Returns:
this.
-
poolProperties
The connection pool properties for this connection. If not provided, default properties will be used.- Returns:
this.
-
tlsScope
Optional. The TLS scope for secure connections. For identified connections, this scope is ignored and the TLS scope is determined by the connection identifier. For unmanaged connections, this scope is used if provided.- Returns:
this.
-
build
-
toString
-