Class VaultMetadataRequest
java.lang.Object
org.springframework.vault.support.VaultMetadataRequest
Value object to bind Vault HTTP kv metadata update API requests.
- Since:
- 2.3
- Author:
- Zakaria Amine, Jeroen Willemsen
- See Also:
-
Nested Class Summary
-
Method Summary
-
Method Details
-
builder
-
isCasRequired
public boolean isCasRequired()- Returns:
- If true all keys will require the cas parameter to be set on all write requests.
-
getCustomMetadata
-
getDeleteVersionAfter
- Returns:
- the deletion_time for all new versions written to this key. Accepts Go duration format string.
-
getMaxVersions
public int getMaxVersions()- Returns:
- The number of versions to keep per key.
-