Class DatabaseCredentials.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.DatabaseCredentials.Builder
 
- 
- Enclosing class:
- DatabaseCredentials
 
 public static class DatabaseCredentials.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseCredentialsbuild()DatabaseCredentials.Buildercopy(DatabaseCredentials model)DatabaseCredentials.Builderpassword(String password)The password for the database user name.DatabaseCredentials.Builderrole(DatabaseCredentials.Role role)The role of the database user.DatabaseCredentials.BuildersecretId(String secretId)The OCID of the secret containing the user password.DatabaseCredentials.BuilderuserName(String userName)The database user name used to perform management activity.
 
- 
- 
- 
Method Detail- 
userNamepublic DatabaseCredentials.Builder userName(String userName) The database user name used to perform management activity.- Parameters:
- userName- the value to set
- Returns:
- this builder
 
 - 
passwordpublic DatabaseCredentials.Builder password(String password) The password for the database user name.- Parameters:
- password- the value to set
- Returns:
- this builder
 
 - 
secretIdpublic DatabaseCredentials.Builder secretId(String secretId) The OCID of the secret containing the user password.- Parameters:
- secretId- the value to set
- Returns:
- this builder
 
 - 
rolepublic DatabaseCredentials.Builder role(DatabaseCredentials.Role role) The role of the database user.Indicates whether the database user is a normal user or sysdba. - Parameters:
- role- the value to set
- Returns:
- this builder
 
 - 
buildpublic DatabaseCredentials build() 
 - 
copypublic DatabaseCredentials.Builder copy(DatabaseCredentials model) 
 
- 
 
-