public interface MutableObjectMetadata extends ObjectMetadata
buckets
and consist of a PayloadEnclosing.getPayload()
value}, a
key
, metadata
, and an
access control policy.ObjectMetadata.StorageClass
Modifier and Type | Method and Description |
---|---|
MutableContentMetadata |
getContentMetadata() |
void |
setBucket(String bucket) |
void |
setCacheControl(String cacheControl)
Can be used to specify caching behavior along the request/reply chain.
|
void |
setContentMetadata(MutableContentMetadata md) |
void |
setETag(String eTag) |
void |
setKey(String key)
The key is the handle that you assign to an object that allows you retrieve it later.
|
void |
setLastModified(Date lastModified) |
void |
setOwner(CanonicalUser owner)
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object.
|
void |
setStorageClass(ObjectMetadata.StorageClass storageClass)
Currently defaults to 'STANDARD' and not used.
|
void |
setUri(URI uri) |
void |
setUserMetadata(Map<String,String> userMetadata) |
getBucket, getCacheControl, getETag, getKey, getLastModified, getOwner, getStorageClass, getUri, getUserMetadata
compareTo
void setKey(String key)
void setBucket(String bucket)
void setOwner(CanonicalUser owner)
void setStorageClass(ObjectMetadata.StorageClass storageClass)
void setCacheControl(String cacheControl)
MutableContentMetadata getContentMetadata()
getContentMetadata
in interface ObjectMetadata
void setContentMetadata(MutableContentMetadata md)
void setLastModified(Date lastModified)
void setETag(String eTag)
void setUri(URI uri)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.