public class MetadataResponse extends VaultDataResponse
Constructor and Description |
---|
MetadataResponse() |
Modifier and Type | Method and Description |
---|---|
SecretMetadata |
getMetadata()
Get the actual metadata.
|
void |
setData(Map<String,Object> data)
Set data.
|
getLeaseDuration, getLeaseId, getWarnings, isRenewable
public final void setData(Map<String,Object> data) throws InvalidResponseException
VaultDataResponse
setData
in class VaultDataResponse
data
- Raw response dataInvalidResponseException
- on parsing errorspublic SecretMetadata getMetadata()
Copyright © 2016–2019. All rights reserved.