Class BlobMetadataImpl
java.lang.Object
org.jclouds.domain.internal.ResourceMetadataImpl<StorageType>
org.jclouds.blobstore.domain.internal.StorageMetadataImpl
org.jclouds.blobstore.domain.internal.BlobMetadataImpl
- All Implemented Interfaces:
Comparable<ResourceMetadata<StorageType>>,BlobMetadata,StorageMetadata,ResourceMetadata<StorageType>
System and user Metadata for the
.
invalid reference
Blob
-
Constructor Summary
ConstructorsConstructorDescriptionBlobMetadataImpl(String id, String name, Location location, URI uri, String eTag, Date creationDate, Date lastModified, Map<String, String> userMetadata, URI publicUri, String container, ContentMetadata contentMetadata) Deprecated.BlobMetadataImpl(String id, String name, Location location, URI uri, String eTag, Date creationDate, Date lastModified, Map<String, String> userMetadata, URI publicUri, String container, ContentMetadata contentMetadata, Long size) Deprecated.BlobMetadataImpl(String id, String name, Location location, URI uri, String eTag, Date creationDate, Date lastModified, Map<String, String> userMetadata, URI publicUri, String container, ContentMetadata contentMetadata, Long size, Tier tier) -
Method Summary
Methods inherited from class org.jclouds.blobstore.domain.internal.StorageMetadataImpl
getCreationDate, getETag, getLastModified, getSize, getTier, getTypeMethods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.jclouds.domain.ResourceMetadata
getLocationMethods inherited from interface org.jclouds.blobstore.domain.StorageMetadata
getCreationDate, getETag, getLastModified, getName, getProviderId, getSize, getTier, getType, getUri, getUserMetadata
-
Constructor Details
-
BlobMetadataImpl
public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag, @Nullable Date creationDate, @Nullable Date lastModified, Map<String, String> userMetadata, @Nullable URI publicUri, @Nullable String container, ContentMetadata contentMetadata, @Nullable Long size, Tier tier) -
BlobMetadataImpl
@Deprecated public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag, @Nullable Date creationDate, @Nullable Date lastModified, Map<String, String> userMetadata, @Nullable URI publicUri, @Nullable String container, ContentMetadata contentMetadata, @Nullable Long size) Deprecated. -
BlobMetadataImpl
@Deprecated public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag, @Nullable Date creationDate, @Nullable Date lastModified, Map<String, String> userMetadata, @Nullable URI publicUri, @Nullable String container, ContentMetadata contentMetadata) Deprecated.
-
-
Method Details
-
getPublicUri
If the blob is publicly readable, what is the URI one can access it at.- Specified by:
getPublicUriin interfaceBlobMetadata- Returns:
- uri, or null, if not readable
-
getContainer
- Specified by:
getContainerin interfaceBlobMetadata- Returns:
- the container holding this blob
-
getContentMetadata
- Specified by:
getContentMetadatain interfaceBlobMetadata
-
equals
- Overrides:
equalsin classStorageMetadataImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classStorageMetadataImpl
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
stringin classStorageMetadataImpl
-