public static class CredentialByVault.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CredentialByVault |
build() |
CredentialByVault.Builder |
copy(CredentialByVault model) |
CredentialByVault.Builder |
credentialSourceName(String credentialSourceName) |
CredentialByVault.Builder |
passwordSecretId(String passwordSecretId)
The secret OCID
mapping to the database credentials.
|
CredentialByVault.Builder |
role(CredentialByVault.Role role)
database user role.
|
CredentialByVault.Builder |
userName(String userName)
database user name.
|
CredentialByVault.Builder |
walletSecretId(String walletSecretId)
The OCID of the
Secret where the database keystore contents are stored.
|
public CredentialByVault.Builder credentialSourceName(String credentialSourceName)
public CredentialByVault.Builder userName(String userName)
database user name.
userName
- the value to setpublic CredentialByVault.Builder passwordSecretId(String passwordSecretId)
The secret OCID mapping to the database credentials.
passwordSecretId
- the value to setpublic CredentialByVault.Builder walletSecretId(String walletSecretId)
The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
walletSecretId
- the value to setpublic CredentialByVault.Builder role(CredentialByVault.Role role)
database user role.
role
- the value to setpublic CredentialByVault build()
public CredentialByVault.Builder copy(CredentialByVault model)
Copyright © 2016–2024. All rights reserved.