Class S3ObjectSummary

java.lang.Object
com.northconcepts.datapipeline.amazons3.S3ObjectSummary

public class S3ObjectSummary extends Object
A backend-neutral summary of a single object returned when listing an S3 bucket or folder.

This intentionally mirrors the fields callers previously read from the AWS SDK's own summary type so that the public API of this module carries no AWS SDK classes.

  • Constructor Details

    • S3ObjectSummary

      public S3ObjectSummary(String key, long size, Date lastModified, String eTag)
  • Method Details

    • getKey

      public String getKey()
    • getSize

      public long getSize()
      Returns the object's size in bytes, or 0 if the listing did not report one.
    • getLastModified

      public Date getLastModified()
    • getETag

      public String getETag()
    • toString

      public String toString()
      Overrides:
      toString in class Object