|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.s3.domain.internal.MutableObjectMetadataImpl
public class MutableObjectMetadataImpl
Allows you to manipulate metadata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jclouds.s3.domain.ObjectMetadata |
---|
ObjectMetadata.StorageClass |
Constructor Summary | |
---|---|
MutableObjectMetadataImpl()
|
|
MutableObjectMetadataImpl(ObjectMetadata from)
|
Method Summary | |
---|---|
int |
compareTo(ObjectMetadata o)
|
boolean |
equals(Object obj)
|
String |
getBucket()
|
String |
getCacheControl()
Can be used to specify caching behavior along the request/reply chain. |
MutableContentMetadata |
getContentMetadata()
|
String |
getETag()
|
String |
getKey()
The key is the handle that you assign to an object that allows you retrieve it later. |
Date |
getLastModified()
|
CanonicalUser |
getOwner()
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object. |
ObjectMetadata.StorageClass |
getStorageClass()
Currently defaults to 'STANDARD' and not used. |
URI |
getUri()
|
Map<String,String> |
getUserMetadata()
|
int |
hashCode()
|
void |
setBucket(String bucket)
|
void |
setCacheControl(String cacheControl)
Can be used to specify caching behavior along the request/reply chain. |
void |
setContentMetadata(MutableContentMetadata contentMetadata)
|
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)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MutableObjectMetadataImpl()
public MutableObjectMetadataImpl(ObjectMetadata from)
Method Detail |
---|
public String getKey()
getKey
in interface ObjectMetadata
public String getBucket()
getBucket
in interface ObjectMetadata
public URI getUri()
getUri
in interface ObjectMetadata
public void setUri(URI uri)
setUri
in interface MutableObjectMetadata
public CanonicalUser getOwner()
getOwner
in interface ObjectMetadata
public ObjectMetadata.StorageClass getStorageClass()
getStorageClass
in interface ObjectMetadata
public String getCacheControl()
getCacheControl
in interface ObjectMetadata
public Date getLastModified()
getLastModified
in interface ObjectMetadata
public String getETag()
getETag
in interface ObjectMetadata
public int compareTo(ObjectMetadata o)
compareTo
in interface Comparable<ObjectMetadata>
public Map<String,String> getUserMetadata()
getUserMetadata
in interface ObjectMetadata
public void setCacheControl(String cacheControl)
setCacheControl
in interface MutableObjectMetadata
public void setETag(String eTag)
setETag
in interface MutableObjectMetadata
public void setKey(String key)
setKey
in interface MutableObjectMetadata
public void setBucket(String bucket)
setBucket
in interface MutableObjectMetadata
public void setLastModified(Date lastModified)
setLastModified
in interface MutableObjectMetadata
public void setOwner(CanonicalUser owner)
setOwner
in interface MutableObjectMetadata
public void setStorageClass(ObjectMetadata.StorageClass storageClass)
setStorageClass
in interface MutableObjectMetadata
public void setUserMetadata(Map<String,String> userMetadata)
setUserMetadata
in interface MutableObjectMetadata
public MutableContentMetadata getContentMetadata()
getContentMetadata
in interface MutableObjectMetadata
getContentMetadata
in interface ObjectMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
setContentMetadata
in interface MutableObjectMetadata
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |