Module de.stklcode.jvault.connector
Class SecretVersionResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.SecretVersionResponse
- All Implemented Interfaces:
VaultResponse
Vault response for a single secret version metadata, i.e. after update (KV v2).
- Since:
- 0.8
- Author:
- Stefan Kalscheuer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the actual metadata.final void
Set data.Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable
-
Constructor Details
-
SecretVersionResponse
public SecretVersionResponse()
-
-
Method Details
-
setData
Description copied from class:VaultDataResponse
Set data. To be implemented in the specific subclasses, as data can be of arbitrary structure.- Specified by:
setData
in classVaultDataResponse
- Parameters:
data
- Raw response data- Throws:
InvalidResponseException
- on parsing errors
-
getMetadata
Get the actual metadata.- Returns:
- Metadata.
-