Interface OracleDataSourceAttributes<T extends OracleDataSourceAttributes>
- Type Parameters:
- T- the data source generic type
@Internal
public interface OracleDataSourceAttributes<T extends OracleDataSourceAttributes>
Represents the attributes of a 
DataSource that a Wallet can configure.
 Only the attributes that a io.micronaut.oraclecloud.adb.wallet can influence are enumerated in this type.- 
Method SummaryModifier and TypeMethodDescriptionchar[]password()The configured database password if any.password(char[] password) Configure the database password to use to connect to the database.The configuredSSLContextif any.sslContext(SSLContext sslContext) Configure theSSLContextused to create TLS connections to the database.url()The configured JDBC URL if any.Configure the JDBC url to use to connect to the database.user()The configured database user if any.Configure the database user to connect to.
- 
Method Details- 
sslContextSSLContext sslContext()The configuredSSLContextif any.- Returns:
- SSLContext instance, or null if no instance configured
 
- 
sslContextConfigure theSSLContextused to create TLS connections to the database.- Parameters:
- sslContext- The- SSLContextholding the certificates used to secure access to the database
- Returns:
- self
 
- 
urlString url()The configured JDBC URL if any.- Returns:
- String instance or null if no JDBC url configured
 
- 
urlConfigure the JDBC url to use to connect to the database.- Parameters:
- url- The JDBC url of the database
- Returns:
- self
 
- 
userString user()The configured database user if any.- Returns:
- Database user name, or null if no username configured
 
- 
userConfigure the database user to connect to.- Parameters:
- user- The database username
- Returns:
- self
 
- 
passwordchar[] password()The configured database password if any. Note a copy of the password is returned, the caller is responsible for zeroing out the array once the password value has been consumed.- Returns:
- char[] array holding a copy of the password, or null if no password has been configured
 
- 
passwordConfigure the database password to use to connect to the database.- Parameters:
- password- The password to use to connect to the database. The caller should zero out this array after this method has been invoked. The implementor must create a copy of the supplied array
- Returns:
- self
 
 
-