Package org.jclouds.blobstore.domain
Interface StorageMetadata
- All Superinterfaces:
Comparable<ResourceMetadata<StorageType>>
,ResourceMetadata<StorageType>
- All Known Subinterfaces:
BlobMetadata
,MutableBlobMetadata
,MutableStorageMetadata
- All Known Implementing Classes:
BlobMetadataImpl
,MutableBlobMetadataImpl
,MutableStorageMetadataImpl
,StorageMetadataImpl
Identifies containers, files, etc.
-
Method Summary
Modifier and TypeMethodDescriptionCreation date of the resource, possibly null.getETag()
The eTag value stored in the Etag header returned by HTTP.Last modification time of the resourcegetName()
Name of this resource.Unique identifier of this resource within its enclosing namespace.getSize()
Size of the resource, possibly null.getTier()
getType()
Whether this resource is a container, file, etc.getUri()
URI used to access this resourceAny key-value pairs associated with the resource.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
-
Method Details
-
getType
StorageType getType()Whether this resource is a container, file, etc.- Specified by:
getType
in interfaceResourceMetadata<StorageType>
-
getProviderId
String getProviderId()Unique identifier of this resource within its enclosing namespace. In some scenarios, this id is not user assignable. For files, this may be an system generated key, or the full path to the resource. ex. /path/to/file.txt- Specified by:
getProviderId
in interfaceResourceMetadata<StorageType>
- See Also:
-
getName
String getName()Name of this resource. Names are dictated by the user. For files, this may be the filename, ex. file.txt- Specified by:
getName
in interfaceResourceMetadata<StorageType>
-
getUri
URI getUri()URI used to access this resource- Specified by:
getUri
in interfaceResourceMetadata<StorageType>
-
getUserMetadata
Any key-value pairs associated with the resource.- Specified by:
getUserMetadata
in interfaceResourceMetadata<StorageType>
- See Also:
-
getETag
String getETag()The eTag value stored in the Etag header returned by HTTP.- See Also:
-
getCreationDate
Date getCreationDate()Creation date of the resource, possibly null. -
getLastModified
Date getLastModified()Last modification time of the resource- See Also:
-
getSize
Long getSize()Size of the resource, possibly null. -
getTier
Tier getTier()
-