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