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 boolean
equals(Object object)
String
getContainer()
MutableContentMetadata
getContentMetadata()
URI
getPublicUri()
If the blob is publicly readable, what is the URI one can access it at.Tier
getTier()
int
hashCode()
void
setContainer(String container)
void
setContentMetadata(MutableContentMetadata contentMetadata)
void
setPublicUri(URI publicUri)
void
setTier(Tier tier)
protected com.google.common.base.MoreObjects.ToStringHelper
string()
-
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:
getContentMetadata
in interfaceBlobMetadata
- Specified by:
getContentMetadata
in interfaceMutableBlobMetadata
-
setContentMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
- Specified by:
setContentMetadata
in interfaceMutableBlobMetadata
- See Also:
BlobMetadata.getContentMetadata()
-
setPublicUri
public void setPublicUri(URI publicUri)
- Specified by:
setPublicUri
in 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:
getPublicUri
in interfaceBlobMetadata
- Returns:
- uri, or null, if not readable
-
getContainer
public String getContainer()
- Specified by:
getContainer
in interfaceBlobMetadata
- Returns:
- the container holding this blob
-
setContainer
public void setContainer(String container)
- Specified by:
setContainer
in interfaceMutableBlobMetadata
- See Also:
BlobMetadata.getContainer()
-
getTier
public Tier getTier()
- Specified by:
getTier
in interfaceStorageMetadata
- Overrides:
getTier
in classMutableStorageMetadataImpl
-
setTier
public void setTier(Tier tier)
- Specified by:
setTier
in interfaceMutableBlobMetadata
- Specified by:
setTier
in interfaceMutableStorageMetadata
- Overrides:
setTier
in classMutableStorageMetadataImpl
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classMutableStorageMetadataImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMutableStorageMetadataImpl
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classMutableStorageMetadataImpl
-
-