Class ObjectMetadata

Object
akka.javasdk.objectstorage.ObjectMetadata

public final class ObjectMetadata extends Object
Metadata for an object stored in a named bucket.
  • Field Details

    • key

      public final String key
      The object key within the bucket.
    • size

      public final long size
      Size of the object in bytes.
    • contentType

      public final Optional<akka.http.javadsl.model.ContentType> contentType
      Content type, if set when the object was stored.
    • eTag

      public final Optional<String> eTag
      Entity tag (opaque identifier for the object version), if provided by the backend.
    • lastModified

      public final Instant lastModified
      Time at which the object was last modified.
  • Constructor Details