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, getType
Methods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
Methods 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:
getPublicUri
in interfaceBlobMetadata
- Returns:
- uri, or null, if not readable
-
getContainer
- Specified by:
getContainer
in interfaceBlobMetadata
- Returns:
- the container holding this blob
-
getContentMetadata
- Specified by:
getContentMetadata
in interfaceBlobMetadata
-
equals
- Overrides:
equals
in classStorageMetadataImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classStorageMetadataImpl
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
string
in classStorageMetadataImpl
-