public static class DatabaseCredentials.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseCredentials |
build() |
DatabaseCredentials.Builder |
copy(DatabaseCredentials model) |
DatabaseCredentials.Builder |
password(String password)
The password for the database user name.
|
DatabaseCredentials.Builder |
role(DatabaseCredentials.Role role)
The role of the database user.
|
DatabaseCredentials.Builder |
secretId(String secretId)
The OCID of the
secret containing the user password.
|
DatabaseCredentials.Builder |
userName(String userName)
The database user name used to perform management activity.
|
public DatabaseCredentials.Builder userName(String userName)
The database user name used to perform management activity.
userName
- the value to setpublic DatabaseCredentials.Builder password(String password)
The password for the database user name.
password
- the value to setpublic DatabaseCredentials.Builder secretId(String secretId)
The OCID of the secret containing the user password.
secretId
- the value to setpublic DatabaseCredentials.Builder role(DatabaseCredentials.Role role)
The role of the database user. Indicates whether the database user is a normal user or sysdba.
role
- the value to setpublic DatabaseCredentials build()
public DatabaseCredentials.Builder copy(DatabaseCredentials model)
Copyright © 2016–2024. All rights reserved.