Class ListBucketResult.Content

  • Enclosing class:
    ListBucketResult

    public class ListBucketResult.Content
    extends java.lang.Object
    Object metadata class.
    • Constructor Summary

      Constructors 
      Constructor Description
      Content​(java.lang.String key, java.lang.String lastModified, java.lang.String size)
      Constructs a new ListBucketResult.Content.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()  
      java.lang.String getLastModified()  
      java.lang.String getSize()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Content

        public Content​(java.lang.String key,
                       java.lang.String lastModified,
                       java.lang.String size)
        Constructs a new ListBucketResult.Content.
        Parameters:
        key - the object key
        lastModified - the data and time in string format the object was last modified
        size - size in bytes of the object
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns:
        the object key
      • getLastModified

        public java.lang.String getLastModified()
        Returns:
        the last modified date and time in string format
      • getSize

        public java.lang.String getSize()
        Returns:
        the size in bytes of the object