Class StorageBucket

    • Constructor Detail

      • StorageBucket

        public StorageBucket()
        Create a bucket without any name or location specified
      • StorageBucket

        public StorageBucket​(String name)
        Create a bucket with a name.
    • Method Detail

      • getCreationDate

        public Date getCreationDate()
        Returns:
        the bucket's creation date, or null if it is unknown.
      • setCreationDate

        public void setCreationDate​(Date creationDate)
        Sets the bucket's creation date - this should only be used internally by JetS3t methods that retrieve information directly from a service.
        Parameters:
        creationDate -
      • getAcl

        public AccessControlList getAcl()
        Returns:
        the bucket's Access Control List, or null if it is unknown.
      • setAcl

        public void setAcl​(AccessControlList acl)
        Sets the bucket's Access Control List in S3 - this should only be used internally by J3tS3t methods that retrieve information directly from S3.
        Parameters:
        acl -