public class BlobMetadataImpl extends StorageMetadataImpl implements BlobMetadata
Blob.| Constructor and Description |
|---|
BlobMetadataImpl(String id,
String name,
Location location,
URI uri,
String eTag,
Date creationDate,
Date lastModified,
Map<String,String> userMetadata,
URI publicUri,
String container,
ContentMetadata contentMetadata)
Deprecated.
|
BlobMetadataImpl(String id,
String name,
Location location,
URI uri,
String eTag,
Date creationDate,
Date lastModified,
Map<String,String> userMetadata,
URI publicUri,
String container,
ContentMetadata contentMetadata,
Long size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getContainer() |
ContentMetadata |
getContentMetadata() |
URI |
getPublicUri()
If the blob is publicly readable, what is the URI one can access it at.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
getCreationDate, getETag, getLastModified, getSize, getTypecompareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreationDate, getETag, getLastModified, getName, getProviderId, getSize, getType, getUri, getUserMetadatagetLocationcompareTopublic BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag, @Nullable Date creationDate, @Nullable Date lastModified, Map<String,String> userMetadata, @Nullable URI publicUri, @Nullable String container, ContentMetadata contentMetadata, @Nullable Long size)
@Deprecated public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag, @Nullable Date creationDate, @Nullable Date lastModified, Map<String,String> userMetadata, @Nullable URI publicUri, @Nullable String container, ContentMetadata contentMetadata)
public URI getPublicUri()
getPublicUri in interface BlobMetadatapublic String getContainer()
getContainer in interface BlobMetadatapublic ContentMetadata getContentMetadata()
getContentMetadata in interface BlobMetadatapublic boolean equals(Object object)
equals in class StorageMetadataImplpublic int hashCode()
hashCode in class StorageMetadataImplprotected com.google.common.base.Objects.ToStringHelper string()
string in class StorageMetadataImplCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.