public static class BasicPreferredCredential.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BasicPreferredCredential |
build() |
BasicPreferredCredential.Builder |
copy(BasicPreferredCredential model) |
BasicPreferredCredential.Builder |
credentialName(String credentialName) |
BasicPreferredCredential.Builder |
isAccessible(Boolean isAccessible) |
BasicPreferredCredential.Builder |
passwordSecretId(String passwordSecretId)
The OCID of the
Vault service secret that contains the database user password.
|
BasicPreferredCredential.Builder |
role(Role role)
The role of the database user.
|
BasicPreferredCredential.Builder |
status(PreferredCredentialStatus status) |
BasicPreferredCredential.Builder |
userName(String userName)
The user name used to connect to the database.
|
public BasicPreferredCredential.Builder credentialName(String credentialName)
public BasicPreferredCredential.Builder status(PreferredCredentialStatus status)
public BasicPreferredCredential.Builder isAccessible(Boolean isAccessible)
public BasicPreferredCredential.Builder userName(String userName)
The user name used to connect to the database.
userName
- the value to setpublic BasicPreferredCredential.Builder role(Role role)
The role of the database user.
role
- the value to setpublic BasicPreferredCredential.Builder passwordSecretId(String passwordSecretId)
The OCID of the Vault service secret that contains the database user password.
passwordSecretId
- the value to setpublic BasicPreferredCredential build()
public BasicPreferredCredential.Builder copy(BasicPreferredCredential model)
Copyright © 2016–2024. All rights reserved.