public class BucketListObjectMetadata extends Object implements ObjectMetadata
ObjectMetadata.StorageClass
Constructor and Description |
---|
BucketListObjectMetadata(String key,
String bucket,
URI uri,
Date lastModified,
String eTag,
byte[] md5,
long contentLength,
CanonicalUser owner,
ObjectMetadata.StorageClass storageClass) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ObjectMetadata o) |
boolean |
equals(Object obj) |
String |
getBucket() |
String |
getCacheControl()
Can be used to specify caching behavior along the request/reply chain.
|
ContentMetadata |
getContentMetadata() |
String |
getETag() |
String |
getKey()
The key is the handle that you assign to an object that allows you retrieve it later.
|
Date |
getLastModified() |
CanonicalUser |
getOwner()
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object.
|
ObjectMetadata.StorageClass |
getStorageClass()
Currently defaults to 'STANDARD' and not used.
|
URI |
getUri() |
Map<String,String> |
getUserMetadata() |
int |
hashCode() |
String |
toString() |
public BucketListObjectMetadata(String key, String bucket, URI uri, Date lastModified, String eTag, byte[] md5, long contentLength, CanonicalUser owner, ObjectMetadata.StorageClass storageClass)
public URI getUri()
getUri
in interface ObjectMetadata
public String getKey()
getKey
in interface ObjectMetadata
public String getBucket()
getBucket
in interface ObjectMetadata
public CanonicalUser getOwner()
getOwner
in interface ObjectMetadata
public ObjectMetadata.StorageClass getStorageClass()
getStorageClass
in interface ObjectMetadata
public String getCacheControl()
getCacheControl
in interface ObjectMetadata
public Date getLastModified()
getLastModified
in interface ObjectMetadata
public String getETag()
getETag
in interface ObjectMetadata
public int compareTo(ObjectMetadata o)
compareTo
in interface Comparable<ObjectMetadata>
public Map<String,String> getUserMetadata()
getUserMetadata
in interface ObjectMetadata
public ContentMetadata getContentMetadata()
getContentMetadata
in interface ObjectMetadata
Copyright © 2009-2013 jclouds. All Rights Reserved.