public static interface JdbcConfiguration.Builder extends Configuration.ConfigBuilder<JdbcConfiguration,JdbcConfiguration.Builder>
| Modifier and Type | Method and Description |
|---|---|
default JdbcConfiguration.Builder |
withConnectionFactoryClass(String connectionFactoryClass)
Use the given connection factory class in the resulting configuration.
|
default JdbcConfiguration.Builder |
withConnectionTimeoutMs(int connectionTimeoutMs)
Use the given connection timeout in the resulting configuration.
|
default JdbcConfiguration.Builder |
withDatabase(String databaseName)
Use the given database name in the resulting configuration.
|
default JdbcConfiguration.Builder |
withHostname(String hostname)
Use the given host in the resulting configuration.
|
default JdbcConfiguration.Builder |
withPassword(String password)
Use the given password in the resulting configuration.
|
default JdbcConfiguration.Builder |
withPort(int port)
Use the given port in the resulting configuration.
|
default JdbcConfiguration.Builder |
withUser(String username)
Use the given user in the resulting configuration.
|
apply, build, changeBoolean, changeBoolean, changeDouble, changeDouble, changeFloat, changeFloat, changeInteger, changeInteger, changeLong, changeLong, changeString, changeString, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefault, withDefaultdefault JdbcConfiguration.Builder withUser(String username)
username - the name of the userdefault JdbcConfiguration.Builder withPassword(String password)
password - the passworddefault JdbcConfiguration.Builder withHostname(String hostname)
hostname - the hostnamedefault JdbcConfiguration.Builder withDatabase(String databaseName)
databaseName - the name of the databasedefault JdbcConfiguration.Builder withPort(int port)
port - the portdefault JdbcConfiguration.Builder withConnectionFactoryClass(String connectionFactoryClass)
connectionFactoryClass - the connection factory class namedefault JdbcConfiguration.Builder withConnectionTimeoutMs(int connectionTimeoutMs)
connectionTimeoutMs - connection timeout in msCopyright © 2021 JBoss by Red Hat. All rights reserved.