Class MetadataResponse
- java.lang.Object
- 
- de.stklcode.jvault.connector.model.response.VaultDataResponse
- 
- de.stklcode.jvault.connector.model.response.MetadataResponse
 
 
- 
- All Implemented Interfaces:
- VaultResponse
 
 public class MetadataResponse extends VaultDataResponse Vault response for secret metadata (KV v2).- Since:
- 0.8
- Author:
- Stefan Kalscheuer
 
- 
- 
Constructor SummaryConstructors Constructor Description MetadataResponse()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretMetadatagetMetadata()Get the actual metadata.voidsetData(Map<String,Object> data)Set data.- 
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponsegetLeaseDuration, getLeaseId, getWarnings, isRenewable
 
- 
 
- 
- 
- 
Method Detail- 
setDatapublic final void setData(Map<String,Object> data) throws InvalidResponseException Description copied from class:VaultDataResponseSet data. To be implemented in the specific subclasses, as data can be of arbitrary structure.- Specified by:
- setDatain class- VaultDataResponse
- Parameters:
- data- Raw response data
- Throws:
- InvalidResponseException- on parsing errors
 
 - 
getMetadatapublic SecretMetadata getMetadata() Get the actual metadata.- Returns:
- Metadata.
 
 
- 
 
-