public class StorageMetadataImpl extends ResourceMetadataImpl<StorageType> implements StorageMetadata
| Constructor and Description |
|---|
StorageMetadataImpl(StorageType type,
String id,
String name,
Location location,
URI uri,
String eTag,
Date creationDate,
Date lastModified,
Map<String,String> userMetadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCreationDate()
Creation date of the resource, possibly null.
|
String |
getETag()
The eTag value stored in the Etag header returned by HTTP.
|
Date |
getLastModified()
Last modification time of the resource
|
StorageType |
getType()
Whether this resource is a container, file, etc.
|
int |
hashCode() |
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, string, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getProviderId, getUri, getUserMetadatagetLocationcompareTopublic StorageType getType()
getType in interface StorageMetadatagetType in interface ResourceMetadata<StorageType>public int hashCode()
hashCode in class ResourceMetadataImpl<StorageType>public boolean equals(Object obj)
equals in class ResourceMetadataImpl<StorageType>public String getETag()
getETag in interface StorageMetadataorg.jclouds.blobstore.attr.ContainerCapability#CONTAINER_ETAG,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_ETAGpublic Date getCreationDate()
StorageMetadatagetCreationDate in interface StorageMetadatapublic Date getLastModified()
getLastModified in interface StorageMetadataorg.jclouds.blobstore.attr.ContainerCapability#CONTAINER_LAST_MODIFIED,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_LAST_MODIFIED,
ContainerCapability.MILLISECOND_PRECISIONCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.