|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.services.s3.model.S3Object
public class S3Object
Represents an object stored in Amazon S3, including the actual data content, and the object metadata stored by Amazon S3 (such as Content-Type, Content-Length, etc).
| Constructor Summary | |
|---|---|
S3Object()
|
|
| Method Summary | |
|---|---|
String |
getBucketName()
The name of the bucket in which this object is contained. |
String |
getKey()
Returns the key under which this object is stored. |
InputStream |
getObjectContent()
Returns an input stream containing the contents of this object. |
ObjectMetadata |
getObjectMetadata()
Returns the metadata stored by Amazon S3 for this object. |
void |
setBucketName(String bucketName)
Set the name of the bucket in which this object is contained. |
void |
setKey(String key)
Sets the key under which this object is stored. |
void |
setObjectContent(InputStream objectContent)
Sets the input stream containing this object's contents. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public S3Object()
| Method Detail |
|---|
public ObjectMetadata getObjectMetadata()
public InputStream getObjectContent()
public void setObjectContent(InputStream objectContent)
objectContent - The input stream containing this object's contents.public String getBucketName()
public void setBucketName(String bucketName)
bucketName - The name of the bucket containing this object.public String getKey()
public void setKey(String key)
key - The key under which this object is stored.public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||