public class S3ObjectImpl extends PayloadEnclosingImpl implements S3Object, Comparable<S3Object>
S3Object
.S3Object.Factory
payload
Constructor and Description |
---|
S3ObjectImpl(MutableObjectMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(S3Object o) |
boolean |
equals(Object obj) |
AccessControlList |
getAccessControlList() |
com.google.common.collect.Multimap<String,String> |
getAllHeaders() |
MutableObjectMetadata |
getMetadata() |
int |
hashCode() |
void |
setAccessControlList(AccessControlList acl) |
void |
setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders) |
void |
setPayload(Payload data)
Sets payload for the request or the content from the response.
|
String |
toString() |
getPayload, setPayload, setPayload, setPayload, setPayload
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPayload, setPayload, setPayload, setPayload, setPayload
@Inject public S3ObjectImpl(MutableObjectMetadata metadata)
public void setAccessControlList(AccessControlList acl)
setAccessControlList
in interface S3Object
public AccessControlList getAccessControlList()
getAccessControlList
in interface S3Object
public MutableObjectMetadata getMetadata()
getMetadata
in interface S3Object
public com.google.common.collect.Multimap<String,String> getAllHeaders()
getAllHeaders
in interface S3Object
public void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
setAllHeaders
in interface S3Object
public int compareTo(S3Object o)
compareTo
in interface Comparable<S3Object>
public int hashCode()
hashCode
in class PayloadEnclosingImpl
public boolean equals(Object obj)
equals
in class PayloadEnclosingImpl
public void setPayload(Payload data)
PayloadEnclosingImpl
setPayload
in interface PayloadEnclosing
setPayload
in class PayloadEnclosingImpl
data
- typically InputStream for downloads, or File, byte [], String, or InputStream for
uploads.Copyright © 2009-2012 jclouds. All Rights Reserved.