public static class DatabaseSecretCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseSecretCredentialDetails |
build() |
DatabaseSecretCredentialDetails.Builder |
copy(DatabaseSecretCredentialDetails model) |
DatabaseSecretCredentialDetails.Builder |
passwordSecretId(String passwordSecretId)
The OCID of the
Secret where the database password is stored.
|
DatabaseSecretCredentialDetails.Builder |
role(DatabaseSecretCredentialDetails.Role role)
The role of the database user.
|
DatabaseSecretCredentialDetails.Builder |
username(String username)
The user to connect to the database.
|
public DatabaseSecretCredentialDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the database password is stored.
passwordSecretId
- the value to setpublic DatabaseSecretCredentialDetails.Builder username(String username)
The user to connect to the database.
username
- the value to setpublic DatabaseSecretCredentialDetails.Builder role(DatabaseSecretCredentialDetails.Role role)
The role of the database user.
role
- the value to setpublic DatabaseSecretCredentialDetails build()
public DatabaseSecretCredentialDetails.Builder copy(DatabaseSecretCredentialDetails model)
Copyright © 2016–2024. All rights reserved.