Class MutableBlobMetadataImpl
- java.lang.Object
-
- org.jclouds.domain.internal.MutableResourceMetadataImpl<StorageType>
-
- org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
-
- org.jclouds.blobstore.domain.internal.MutableBlobMetadataImpl
-
- All Implemented Interfaces:
Comparable<ResourceMetadata<StorageType>>,BlobMetadata,MutableBlobMetadata,MutableStorageMetadata,StorageMetadata,MutableResourceMetadata<StorageType>,ResourceMetadata<StorageType>
public class MutableBlobMetadataImpl extends MutableStorageMetadataImpl implements MutableBlobMetadata
System and user Metadata for theBlob.
-
-
Constructor Summary
Constructors Constructor Description MutableBlobMetadataImpl()MutableBlobMetadataImpl(BlobMetadata from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetContainer()MutableContentMetadatagetContentMetadata()URIgetPublicUri()If the blob is publicly readable, what is the URI one can access it at.TiergetTier()inthashCode()voidsetContainer(String container)voidsetContentMetadata(MutableContentMetadata contentMetadata)voidsetPublicUri(URI publicUri)voidsetTier(Tier tier)protected com.google.common.base.MoreObjects.ToStringHelperstring()-
Methods inherited from class org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
getCreationDate, getETag, getLastModified, getSize, setCreationDate, setETag, setLastModified, setSize
-
Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, setId, setLocation, setName, setType, setUri, setUserMetadata, 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.MutableResourceMetadata
setId, setLocation, setName, setType, setUri, setUserMetadata
-
Methods inherited from interface org.jclouds.blobstore.domain.MutableStorageMetadata
setCreationDate, setETag, setLastModified, setSize
-
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
-
Methods inherited from interface org.jclouds.blobstore.domain.StorageMetadata
getCreationDate, getETag, getLastModified, getName, getProviderId, getSize, getType, getUri, getUserMetadata
-
-
-
-
Constructor Detail
-
MutableBlobMetadataImpl
public MutableBlobMetadataImpl()
-
MutableBlobMetadataImpl
public MutableBlobMetadataImpl(BlobMetadata from)
-
-
Method Detail
-
getContentMetadata
public MutableContentMetadata getContentMetadata()
- Specified by:
getContentMetadatain interfaceBlobMetadata- Specified by:
getContentMetadatain interfaceMutableBlobMetadata
-
setContentMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
- Specified by:
setContentMetadatain interfaceMutableBlobMetadata- See Also:
BlobMetadata.getContentMetadata()
-
setPublicUri
public void setPublicUri(URI publicUri)
- Specified by:
setPublicUriin interfaceMutableBlobMetadata- See Also:
BlobMetadata.getPublicUri()
-
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
-
setContainer
public void setContainer(String container)
- Specified by:
setContainerin interfaceMutableBlobMetadata- See Also:
BlobMetadata.getContainer()
-
getTier
public Tier getTier()
- Specified by:
getTierin interfaceStorageMetadata- Overrides:
getTierin classMutableStorageMetadataImpl
-
setTier
public void setTier(Tier tier)
- Specified by:
setTierin interfaceMutableBlobMetadata- Specified by:
setTierin interfaceMutableStorageMetadata- Overrides:
setTierin classMutableStorageMetadataImpl
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classMutableStorageMetadataImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMutableStorageMetadataImpl
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
stringin classMutableStorageMetadataImpl
-
-