public interface StorageMetadata extends ResourceMetadata<StorageType>
| Modifier and Type | Method and Description |
|---|---|
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
|
String |
getName()
Name of this resource.
|
String |
getProviderId()
Unique identifier of this resource within its enclosing namespace.
|
Long |
getSize()
Size of the resource, possibly null.
|
StorageType |
getType()
Whether this resource is a container, file, etc.
|
URI |
getUri()
URI used to access this resource
|
Map<String,String> |
getUserMetadata()
Any key-value pairs associated with the resource.
|
getLocationcompareToStorageType getType()
getType in interface ResourceMetadata<StorageType>String getProviderId()
getProviderId in interface ResourceMetadata<StorageType>org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_METADATAString getName()
getName in interface ResourceMetadata<StorageType>URI getUri()
getUri in interface ResourceMetadata<StorageType>Map<String,String> getUserMetadata()
getUserMetadata in interface ResourceMetadata<StorageType>org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_METADATA,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_METADATAString getETag()
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_ETAG,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_ETAGDate getCreationDate()
Date getLastModified()
org.jclouds.blobstore.attr.ContainerCapability#CONTAINER_LAST_MODIFIED,
org.jclouds.blobstore.attr.ContainerCapability#BLOB_LAST_MODIFIED,
ContainerCapability.MILLISECOND_PRECISIONLong getSize()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.