public class CopyObjectResult extends Object implements ObjectMetadata
ObjectMetadata.StorageClass
Constructor and Description |
---|
CopyObjectResult(Date lastModified,
String eTag) |
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 String getKey()
getKey
in interface ObjectMetadata
public String getBucket()
getBucket
in interface ObjectMetadata
public URI getUri()
getUri
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-2016 The Apache Software Foundation. All Rights Reserved.