public class StorageMetadataImpl extends ResourceMetadataImpl<StorageType> implements StorageMetadata, Serializable
Constructor and Description |
---|
StorageMetadataImpl(StorageType type,
String id,
String name,
Location location,
URI uri,
String eTag,
Date lastModified,
Map<String,String> userMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getProviderId, getUri, getUserMetadata
getLocation
compareTo
public StorageType getType()
getType
in interface StorageMetadata
getType
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 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
Copyright © 2009-2012 jclouds. All Rights Reserved.