Class BasicNamedCredentialContent.Builder
- java.lang.Object
 - 
- com.oracle.bmc.databasemanagement.model.BasicNamedCredentialContent.Builder
 
 
- 
- Enclosing class:
 - BasicNamedCredentialContent
 
public static class BasicNamedCredentialContent.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicNamedCredentialContentbuild()BasicNamedCredentialContent.Buildercopy(BasicNamedCredentialContent model)BasicNamedCredentialContent.BuilderpasswordSecretAccessMode(PasswordSecretAccessMode passwordSecretAccessMode)The mechanism used to access the password plain text value.BasicNamedCredentialContent.BuilderpasswordSecretId(String passwordSecretId)The OCID of the Vault service secret that contains the database user password.BasicNamedCredentialContent.Builderrole(Role role)The role of the database user.BasicNamedCredentialContent.BuilderuserName(String userName)The user name used to connect to the database. 
 - 
 
- 
- 
Method Detail
- 
userName
public BasicNamedCredentialContent.Builder userName(String userName)
The user name used to connect to the database.- Parameters:
 userName- the value to set- Returns:
 - this builder
 
 
- 
role
public BasicNamedCredentialContent.Builder role(Role role)
The role of the database user.- Parameters:
 role- the value to set- Returns:
 - this builder
 
 
- 
passwordSecretId
public BasicNamedCredentialContent.Builder passwordSecretId(String passwordSecretId)
The OCID of the Vault service secret that contains the database user password.- Parameters:
 passwordSecretId- the value to set- Returns:
 - this builder
 
 
- 
passwordSecretAccessMode
public BasicNamedCredentialContent.Builder passwordSecretAccessMode(PasswordSecretAccessMode passwordSecretAccessMode)
The mechanism used to access the password plain text value.- Parameters:
 passwordSecretAccessMode- the value to set- Returns:
 - this builder
 
 
- 
build
public BasicNamedCredentialContent build()
 
- 
copy
public BasicNamedCredentialContent.Builder copy(BasicNamedCredentialContent model)
 
 - 
 
 -