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 the
.
invalid reference
Blob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
If the blob is publicly readable, what is the URI one can access it at.getTier()
int
hashCode()
void
setContainer
(String container) void
setContentMetadata
(MutableContentMetadata contentMetadata) void
setPublicUri
(URI publicUri) void
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 Details
-
MutableBlobMetadataImpl
public MutableBlobMetadataImpl() -
MutableBlobMetadataImpl
-
-
Method Details
-
getContentMetadata
- Specified by:
getContentMetadata
in interfaceBlobMetadata
- Specified by:
getContentMetadata
in interfaceMutableBlobMetadata
-
setContentMetadata
- Specified by:
setContentMetadata
in interfaceMutableBlobMetadata
- See Also:
-
setPublicUri
- Specified by:
setPublicUri
in interfaceMutableBlobMetadata
- See Also:
-
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
-
setContainer
- Specified by:
setContainer
in interfaceMutableBlobMetadata
- See Also:
-
getTier
- Specified by:
getTier
in interfaceStorageMetadata
- Overrides:
getTier
in classMutableStorageMetadataImpl
-
setTier
- Specified by:
setTier
in interfaceMutableBlobMetadata
- Specified by:
setTier
in interfaceMutableStorageMetadata
- Overrides:
setTier
in classMutableStorageMetadataImpl
-
equals
- 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
-