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, getType
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreationDate, getETag, getLastModified, getName, getProviderId, getSize, getType, getUri, getUserMetadata
getLocation
compareTo
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, @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 BlobMetadata
public String getContainer()
getContainer
in interface BlobMetadata
public ContentMetadata getContentMetadata()
getContentMetadata
in interface BlobMetadata
public boolean equals(Object object)
equals
in class StorageMetadataImpl
public int hashCode()
hashCode
in class StorageMetadataImpl
protected com.google.common.base.Objects.ToStringHelper string()
string
in class StorageMetadataImpl
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.