public static class BasicNamedCredentialContent.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BasicNamedCredentialContent |
build() |
BasicNamedCredentialContent.Builder |
copy(BasicNamedCredentialContent model) |
BasicNamedCredentialContent.Builder |
passwordSecretAccessMode(PasswordSecretAccessMode passwordSecretAccessMode)
The mechanism used to access the password plain text value.
|
BasicNamedCredentialContent.Builder |
passwordSecretId(String passwordSecretId)
The OCID of the
Vault service secret that contains the database user password.
|
BasicNamedCredentialContent.Builder |
role(Role role)
The role of the database user.
|
BasicNamedCredentialContent.Builder |
userName(String userName)
The user name used to connect to the database.
|
public BasicNamedCredentialContent.Builder userName(String userName)
The user name used to connect to the database.
userName
- the value to setpublic BasicNamedCredentialContent.Builder role(Role role)
The role of the database user.
role
- the value to setpublic BasicNamedCredentialContent.Builder passwordSecretId(String passwordSecretId)
The OCID of the Vault service secret that contains the database user password.
passwordSecretId
- the value to setpublic BasicNamedCredentialContent.Builder passwordSecretAccessMode(PasswordSecretAccessMode passwordSecretAccessMode)
The mechanism used to access the password plain text value.
passwordSecretAccessMode
- the value to setpublic BasicNamedCredentialContent build()
public BasicNamedCredentialContent.Builder copy(BasicNamedCredentialContent model)
Copyright © 2016–2024. All rights reserved.