org.jclouds.blobstore.domain.internal
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:
- Serializable, Comparable<ResourceMetadata<StorageType>>, BlobMetadata, StorageMetadata, ResourceMetadata<StorageType>
public class BlobMetadataImpl
- extends StorageMetadataImpl
- implements Serializable, BlobMetadata
System and user Metadata for the Blob
.
- Author:
- Adrian Cole
- See Also:
- Serialized Form
Constructor Summary |
BlobMetadataImpl(String id,
String name,
Location location,
URI uri,
String eTag,
Date lastModified,
Map<String,String> userMetadata,
URI publicUri,
String container,
ContentMetadata contentMetadata)
|
BlobMetadataImpl
public BlobMetadataImpl(String id,
String name,
@Nullable
Location location,
URI uri,
String eTag,
Date lastModified,
Map<String,String> userMetadata,
@Nullable
URI publicUri,
@Nullable
String container,
ContentMetadata contentMetadata)
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
getContentMetadata
public ContentMetadata getContentMetadata()
-
- Specified by:
getContentMetadata
in interface BlobMetadata
Copyright © 2009-2012 jclouds. All Rights Reserved.