org.jclouds.blobstore.domain.internal
Class MutableStorageMetadataImpl
java.lang.Object
org.jclouds.domain.internal.MutableResourceMetadataImpl<StorageType>
org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
- All Implemented Interfaces:
- Serializable, Comparable<ResourceMetadata<StorageType>>, MutableStorageMetadata, StorageMetadata, MutableResourceMetadata<StorageType>, ResourceMetadata<StorageType>
- Direct Known Subclasses:
- MutableBlobMetadataImpl
public class MutableStorageMetadataImpl
- extends MutableResourceMetadataImpl<StorageType>
- implements MutableStorageMetadata, Serializable
Used to construct new resources or modify existing ones.
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl |
compareTo, equals, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, hashCode, setId, setLocation, setName, setType, setUri, setUserMetadata, toString |
MutableStorageMetadataImpl
public MutableStorageMetadataImpl()
MutableStorageMetadataImpl
public MutableStorageMetadataImpl(StorageMetadata from)
getETag
public String getETag()
- The eTag value stored in the Etag header returned by HTTP.
- Specified by:
getETag
in interface StorageMetadata
- See Also:
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_ETAG
,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_ETAG
getLastModified
public Date getLastModified()
- Last modification time of the resource
- Specified by:
getLastModified
in interface StorageMetadata
- See Also:
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_LAST_MODIFIED
,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_LAST_MODIFIED
,
ContainerCapability.MILLISECOND_PRECISION
setLastModified
public void setLastModified(Date lastModified)
-
- Specified by:
setLastModified
in interface MutableStorageMetadata
- See Also:
StorageMetadata.getLastModified()
setETag
public void setETag(String eTag)
-
- Specified by:
setETag
in interface MutableStorageMetadata
- See Also:
StorageMetadata.getETag()
Copyright © 2009-2011 jclouds. All Rights Reserved.