Interface MutableObjectMetadata

    • Method Detail

      • setKey

        void setKey​(String key)
        The key is the handle that you assign to an object that allows you retrieve it later. A key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long. Each object in a bucket must have a unique key.
      • setBucket

        void setBucket​(String bucket)
      • setOwner

        void setOwner​(CanonicalUser owner)
        Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object. The owner of a bucket or object cannot be changed. However, if the object is overwritten by another user (deleted and rewritten), the new object will have a new owner.
      • setCacheControl

        @Deprecated
        void setCacheControl​(String cacheControl)
        Deprecated.
        Can be used to specify caching behavior along the request/reply chain.
      • setLastModified

        void setLastModified​(Date lastModified)
      • setETag

        void setETag​(String eTag)
      • setUserMetadata

        void setUserMetadata​(Map<String,​String> userMetadata)
      • setUri

        void setUri​(URI uri)