- java.lang.Object
-
- io.github.jopenlibs.vault.api.database.DatabaseCredential
-
public class DatabaseCredential extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DatabaseCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
java.lang.String
getUsername()
DatabaseCredential
password(java.lang.String password)
DatabaseCredential
username(java.lang.String username)
-
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
- Returns:
- Returns the Username associated with the retrieved Credential
-
getPassword
public java.lang.String getPassword()
- Returns:
- Returns the Password associated with the retrieved Credential
-
username
public DatabaseCredential username(java.lang.String username)
-
password
public DatabaseCredential password(java.lang.String password)
-
-