- java.lang.Object
-
- io.github.jopenlibs.vault.response.VaultResponse
-
- io.github.jopenlibs.vault.response.LogicalResponse
-
- io.github.jopenlibs.vault.response.DatabaseResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class DatabaseResponse extends LogicalResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseResponse(RestResponse restResponse, int retries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseCredential
getCredential()
DatabaseRoleOptions
getRoleOptions()
-
Methods inherited from class io.github.jopenlibs.vault.response.LogicalResponse
getData, getDataObject, getLeaseDuration, getLeaseId, getListData, getRenewable
-
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
-
-
-
Constructor Detail
-
DatabaseResponse
public DatabaseResponse(RestResponse restResponse, int retries)
- Parameters:
restResponse
- The raw HTTP response from Vault.retries
- The number of retry attempts that occurred during the API call (can be zero).
-
-
Method Detail
-
getCredential
public DatabaseCredential getCredential()
-
getRoleOptions
public DatabaseRoleOptions getRoleOptions()
-
-