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
- See Also:
-
Nested Class Summary
-
Method Summary
-
Method Details
-
builder
-
getMaxVersions
public int getMaxVersions()- Returns:
- The number of versions to keep per key.
-
isCasRequired
public boolean isCasRequired()- Returns:
- If true all keys will require the cas parameter to be set on all write requests.
-
getDeleteVersionAfter
- Returns:
- the deletion_time for all new versions written to this key. Accepts Go duration format string.
-