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, isPresent, stringValue, stringValue, toBoolean, toBoolean, toBytesBase64, toBytesBase64, toDouble, toDouble, toInstant, toInstant, toInt, toInt, toList, toList, toLong, toLong, toMap, toMap, toObject, toObject, toString, 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:
trueif the secret is deleted,falseotherwise
-
destroyed
public boolean destroyed()Whether the secret is destroyed (cannot be undeleted).- Returns:
trueif the secret is destroyed,falseotherwise
-
toString
-