Class VaultMetadataRequest

java.lang.Object
org.springframework.vault.support.VaultMetadataRequest

public class VaultMetadataRequest extends Object
Value object to bind Vault HTTP kv metadata update API requests.
Since:
2.3
Author:
Zakaria Amine
See Also:
  • 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

      public String getDeleteVersionAfter()
      Returns:
      the deletion_time for all new versions written to this key. Accepts Go duration format string.