Class Kv2Metadata
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.vault.secrets.kv2.Kv2Metadata
Metadata of a KV version 2 secret.
-
Method Summary
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
Method Details
-
createdTime
Created timestamp.- Returns:
- timestamp
-
deletedTime
Deleted timestamp for deleted secrets.- Returns:
- timestamp or empty if not deleted
-
version
public int version()Version of the secret.- Returns:
- version
-
deleted
public boolean deleted()Whether the secret is deleted (can be undeleted).- Returns:
true
if the secret is deleted,false
otherwise
-
destroyed
public boolean destroyed()Whether the secret is destroyed (cannot be undeleted).- Returns:
true
if the secret is destroyed,false
otherwise
-
toString
-