|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.S3ObjectSummary
public class S3ObjectSummary
Summary of an object stored in an Amazon S3 bucket. Doesn't contain the object's full metadata or any of the contents.
Constructor Summary | |
---|---|
S3ObjectSummary()
|
Method Summary | |
---|---|
String |
getBucketName()
Returns the name of the Amazon S3 bucket in which this object is stored. |
String |
getETag()
Returns the hex encoded 128 bit MD5 hash of this object's contents, as computed by Amazon S3. |
String |
getKey()
Returns the key under which this object is stored in Amazon S3. |
Date |
getLastModified()
Returns the date, according to Amazon S3, at which this object was last modified. |
Owner |
getOwner()
Returns the owner of this object, or null if the requester doesn't have Permission.ReadAcp permission for this object (or own the bucket
in which it resides) and therefore doesn't have permission to see object
ownership. |
long |
getSize()
Returns the size of this object, in bytes. |
String |
getStorageClass()
Returns the type of storage used by Amazon S3 for this object. |
void |
setBucketName(String bucketName)
Sets the name of the Amazon S3 bucket in which this object is stored. |
void |
setETag(String eTag)
Sets the hex encoded 128 bit MD5 hash of this object's contents, as computed by Amazon S3. |
void |
setKey(String key)
Sets the key under which this object is stored in Amazon S3. |
void |
setLastModified(Date lastModified)
Sets the date, according to Amazon S3, at which this object was last modified. |
void |
setOwner(Owner owner)
Sets the owner of this object. |
void |
setSize(long size)
Sets the size of this object, in bytes. |
void |
setStorageClass(String storageClass)
Sets the type of storage used by Amazon S3 for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public S3ObjectSummary()
Method Detail |
---|
public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the Amazon S3 bucket in which this object is
stored.public String getKey()
public void setKey(String key)
key
- The key under which this object is stored in Amazon S3.public String getETag()
public void setETag(String eTag)
eTag
- The hex encoded 128 bit MD5 hash of this object's contents, as
computed by Amazon S3.public long getSize()
public void setSize(long size)
size
- The size of this object, in bytes.public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- The date, according to Amazon S3, at which this object was
last modified.public Owner getOwner()
Permission.ReadAcp
permission for this object (or own the bucket
in which it resides) and therefore doesn't have permission to see object
ownership.
public void setOwner(Owner owner)
owner
- The owner of this object.public String getStorageClass()
public void setStorageClass(String storageClass)
storageClass
- The type of storage used by Amazon S3 for this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |