public class MutableStorageMetadataImpl extends MutableResourceMetadataImpl<StorageType> implements MutableStorageMetadata, Serializable
Constructor and Description |
---|
MutableStorageMetadataImpl() |
MutableStorageMetadataImpl(StorageMetadata from) |
Modifier and Type | Method and Description |
---|---|
String |
getETag()
The eTag value stored in the Etag header returned by HTTP.
|
Date |
getLastModified()
Last modification time of the resource
|
void |
setETag(String eTag) |
void |
setLastModified(Date lastModified) |
compareTo, equals, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, hashCode, setId, setLocation, setName, setType, setUri, setUserMetadata, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setId, setLocation, setName, setType, setUri, setUserMetadata
getName, getProviderId, getType, getUri, getUserMetadata
getLocation
compareTo
public MutableStorageMetadataImpl()
public MutableStorageMetadataImpl(StorageMetadata from)
public String getETag()
getETag
in interface StorageMetadata
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_ETAG
,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_ETAG
public Date getLastModified()
getLastModified
in interface StorageMetadata
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_LAST_MODIFIED
,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_LAST_MODIFIED
,
ContainerCapability.MILLISECOND_PRECISION
public void setLastModified(Date lastModified)
setLastModified
in interface MutableStorageMetadata
StorageMetadata.getLastModified()
public void setETag(String eTag)
setETag
in interface MutableStorageMetadata
StorageMetadata.getETag()
Copyright © 2009-2013 jclouds. All Rights Reserved.