Class Versioned.Metadata
java.lang.Object
org.springframework.vault.support.Versioned.Metadata
Value object representing version metadata such as creation/deletion time.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a newVersioned.Metadata.MetadataBuilder
to buildVersioned.Metadata
objects.boolean
boolean
toString()
-
Method Details
-
builder
Creates a newVersioned.Metadata.MetadataBuilder
to buildVersioned.Metadata
objects.- Returns:
- a new
Versioned.Metadata.MetadataBuilder
to buildVersioned.Metadata
objects.
-
getCustomMetadata
- Returns:
- custom metadata, if provided.
-
getCreatedAt
- Returns:
Instant
at which the version was created.
-
isDeleted
public boolean isDeleted()- Returns:
- true if the version was deleted.
-
getDeletedAt
- Returns:
Instant
at which the version was deleted. Can be null if the version is not deleted.
-
getVersion
- Returns:
- the version number.
-
isDestroyed
public boolean isDestroyed()- Returns:
- true if the version was destroyed.
-
toString
-