Class SecretMetadata
- java.lang.Object
-
- de.stklcode.jvault.connector.model.response.embedded.SecretMetadata
-
public final class SecretMetadata extends Object
Embedded metadata for Key-Value v2 secrets.- Since:
- 0.8
- Author:
- Stefan Kalscheuer
-
-
Constructor Summary
Constructors Constructor Description SecretMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTime
getCreatedTime()
String
getCreatedTimeString()
Integer
getCurrentVersion()
Integer
getMaxVersions()
Integer
getOldestVersion()
ZonedDateTime
getUpdatedTime()
String
getUpdatedTimeString()
Map<Integer,VersionMetadata>
getVersions()
-
-
-
Method Detail
-
getCreatedTimeString
public String getCreatedTimeString()
- Returns:
- Time of secret creation as raw string representation.
-
getCreatedTime
public ZonedDateTime getCreatedTime()
- Returns:
- Time of secret creation.
-
getCurrentVersion
public Integer getCurrentVersion()
- Returns:
- Current version number.
-
getMaxVersions
public Integer getMaxVersions()
- Returns:
- Maximum number of versions.
-
getOldestVersion
public Integer getOldestVersion()
- Returns:
- Oldest available version number.
-
getUpdatedTimeString
public String getUpdatedTimeString()
- Returns:
- Time of secret update as raw string representation.
-
getUpdatedTime
public ZonedDateTime getUpdatedTime()
- Returns:
- Time of secret update..
-
getVersions
public Map<Integer,VersionMetadata> getVersions()
- Returns:
- Version of the entry.
-
-