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>
public class BlobMetadataImpl extends StorageMetadataImpl implements BlobMetadata
System and user Metadata for theBlob.
-
-
Constructor Summary
Constructors Constructor Description 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)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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetContainer()ContentMetadatagetContentMetadata()URIgetPublicUri()If the blob is publicly readable, what is the URI one can access it at.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()-
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 Detail
-
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 Detail
-
getPublicUri
public URI 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
public String getContainer()
- Specified by:
getContainerin interfaceBlobMetadata- Returns:
- the container holding this blob
-
getContentMetadata
public ContentMetadata getContentMetadata()
- Specified by:
getContentMetadatain interfaceBlobMetadata
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classStorageMetadataImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStorageMetadataImpl
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
stringin classStorageMetadataImpl
-
-