public static class DatabasePasswordCredentialDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabasePasswordCredentialDetails |
build() |
DatabasePasswordCredentialDetails.Builder |
copy(DatabasePasswordCredentialDetails model) |
DatabasePasswordCredentialDetails.Builder |
password(String password)
The database user’s password encoded using BASE64 scheme.
|
DatabasePasswordCredentialDetails.Builder |
role(DatabasePasswordCredentialDetails.Role role)
The role of the database user.
|
DatabasePasswordCredentialDetails.Builder |
username(String username)
The user to connect to the database.
|
public DatabasePasswordCredentialDetails.Builder password(String password)
The database user’s password encoded using BASE64 scheme.
password
- the value to setpublic DatabasePasswordCredentialDetails.Builder username(String username)
The user to connect to the database.
username
- the value to setpublic DatabasePasswordCredentialDetails.Builder role(DatabasePasswordCredentialDetails.Role role)
The role of the database user.
role
- the value to setpublic DatabasePasswordCredentialDetails build()
public DatabasePasswordCredentialDetails.Builder copy(DatabasePasswordCredentialDetails model)
Copyright © 2016–2024. All rights reserved.