Module de.stklcode.jvault.connector
Class SecretMetadata
java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.SecretMetadata
- All Implemented Interfaces:
 Serializable
Embedded metadata for Key-Value v2 secrets.
- Since:
 - 0.8, 1.1 implements 
Serializable - Author:
 - Stefan Kalscheuer
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.inthashCode() 
- 
Constructor Details
- 
SecretMetadata
public SecretMetadata() 
 - 
 - 
Method Details
- 
getCreatedTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetCreatedTime()instead.- Returns:
 - Time of secret creation as raw string representation.
 
 - 
getCreatedTime
- Returns:
 - Time of secret creation.
 
 - 
getCurrentVersion
- Returns:
 - Current version number.
 
 - 
getMaxVersions
- Returns:
 - Maximum number of versions.
 
 - 
getOldestVersion
- Returns:
 - Oldest available version number.
 
 - 
getUpdatedTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetUpdatedTime()instead.- Returns:
 - Time of secret update as raw string representation.
 
 - 
getUpdatedTime
- Returns:
 - Time of secret update.
 
 - 
getVersions
- Returns:
 - Version of the entry.
 
 - 
isCasRequired
- Returns:
 - CAS required?
 - Since:
 - 1.3
 
 - 
getCustomMetadata
- Returns:
 - Custom metadata.
 - Since:
 - 1.3
 
 - 
getDeleteVersionAfter
- Returns:
 - time duration to delete version
 - Since:
 - 1.3
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -