org.jclouds.blobstore.domain.internal
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:
- Serializable, Comparable<ResourceMetadata<StorageType>>, BlobMetadata, MutableBlobMetadata, MutableStorageMetadata, StorageMetadata, MutableResourceMetadata<StorageType>, ResourceMetadata<StorageType>
public class MutableBlobMetadataImpl
- extends MutableStorageMetadataImpl
- implements MutableBlobMetadata
System and user Metadata for the Blob
.
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl |
compareTo, equals, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, hashCode, setId, setLocation, setName, setType, setUri, setUserMetadata, toString |
MutableBlobMetadataImpl
public MutableBlobMetadataImpl()
MutableBlobMetadataImpl
public MutableBlobMetadataImpl(BlobMetadata from)
getContentMetadata
public MutableContentMetadata getContentMetadata()
-
- Specified by:
getContentMetadata
in interface BlobMetadata
- Specified by:
getContentMetadata
in interface MutableBlobMetadata
setContentMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
-
- Specified by:
setContentMetadata
in interface MutableBlobMetadata
- See Also:
BlobMetadata.getContentMetadata()
setPublicUri
public void setPublicUri(URI publicUri)
-
- Specified by:
setPublicUri
in interface MutableBlobMetadata
- 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 interface BlobMetadata
- Returns:
- uri, or null, if not readable
getContainer
public String getContainer()
-
- Specified by:
getContainer
in interface BlobMetadata
- Returns:
- the container holding this blob
setContainer
public void setContainer(String container)
-
- Specified by:
setContainer
in interface MutableBlobMetadata
- See Also:
BlobMetadata.getContainer()
Copyright © 2009-2012 jclouds. All Rights Reserved.