Package org.opencms.db.storage.s3
Class CmsS3ObjectMetadata
java.lang.Object
org.opencms.db.storage.s3.CmsS3ObjectMetadata
Metadata returned by an S3 object listing.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsS3ObjectMetadata(String key, long length, Instant lastModified, String revision) Creates object metadata. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the object key.Returns the last-modified timestamp, ornull.longReturns the object length.Returns the opaque object revision, ornull.
-
Constructor Details
-
CmsS3ObjectMetadata
Creates object metadata.- Parameters:
key- the object keylength- the object lengthlastModified- the last-modified timestamp, ornullrevision- the opaque revision, ornull
-
-
Method Details
-
getKey
Returns the object key. -
getLastModified
Returns the last-modified timestamp, ornull. -
getLength
Returns the object length. -
getRevision
Returns the opaque object revision, ornull.
-