public class

S3ObjectSummary

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.module.s3.model.S3ObjectSummary

Summary

Constants
long serialVersionUID
Fields
protected String bucketName The name of the bucket in which this object is stored
protected String eTag Hex encoded MD5 hash of this object's contents, as computed by Amazon S3
protected String key The key under which this object is stored
protected Date lastModified The date, according to Amazon S3, when this object was last modified
protected Owner owner The owner of this object - can be null if the requester doesn't have permission to view object ownership information
protected long size The size of this object, in bytes
protected String storageClass The class of storage used by Amazon S3 to store this object
Public Constructors
S3ObjectSummary()
Public Methods
String getBucketName()
Gets the name of the Amazon S3 bucket in which this object is stored.
String getETag()
Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
String getKey()
Gets the key under which this object is stored in Amazon S3.
Date getLastModified()
Gets the date when, according to Amazon S3, this object was last modified.
Owner getOwner()
Gets the owner of this object.
long getSize()
Gets the size of this object in bytes.
String getStorageClass()
Gets the storage class 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, 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 storage class used by Amazon S3 for this object.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 4983096516451498237 (0x452783e15093f8fd)

Fields

protected String bucketName

The name of the bucket in which this object is stored

protected String eTag

Hex encoded MD5 hash of this object's contents, as computed by Amazon S3

protected String key

The key under which this object is stored

protected Date lastModified

The date, according to Amazon S3, when this object was last modified

protected Owner owner

The owner of this object - can be null if the requester doesn't have permission to view object ownership information

protected long size

The size of this object, in bytes

protected String storageClass

The class of storage used by Amazon S3 to store this object

Public Constructors

public S3ObjectSummary ()

Public Methods

public String getBucketName ()

Gets the name of the Amazon S3 bucket in which this object is stored.

Returns
  • The name of the Amazon S3 bucket in which this object is stored.

public String getETag ()

Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.

Returns
  • The hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
See Also

public String getKey ()

Gets the key under which this object is stored in Amazon S3.

Returns
  • The key under which this object is stored in Amazon S3.
See Also

public Date getLastModified ()

Gets the date when, according to Amazon S3, this object was last modified.

Returns
  • The date when, according to Amazon S3, this object was last modified.

public Owner getOwner ()

Gets the owner of this object. Returns null if the requester doesn't have Permission#ReadAcp permission for this object or owns the bucket in which it resides.

Returns
  • The owner of this object. Returns null if the requester doesn't have permission to see object ownership.

public long getSize ()

Gets the size of this object in bytes.

Returns
  • The size of this object in bytes.
See Also

public String getStorageClass ()

Gets the storage class used by Amazon S3 for this object.

Returns
  • The storage class used by Amazon S3 for this object.

public void setBucketName (String bucketName)

Sets the name of the Amazon S3 bucket in which this object is stored.

Parameters
bucketName The name of the Amazon S3 bucket in which this object is stored.
See Also

public void setETag (String eTag)

Sets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.

Parameters
eTag The hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
See Also

public void setKey (String key)

Sets the key under which this object is stored in Amazon S3.

Parameters
key The key under which this object is stored in Amazon S3.
See Also

public void setLastModified (Date lastModified)

Sets the date, according to Amazon S3, this object was last modified.

Parameters
lastModified The date when, according to Amazon S3, this object was last modified.

public void setOwner (Owner owner)

Sets the owner of this object.

Parameters
owner The owner of this object.
See Also

public void setSize (long size)

Sets the size of this object in bytes.

Parameters
size The size of this object in bytes.
See Also

public void setStorageClass (String storageClass)

Sets the storage class used by Amazon S3 for this object.

Parameters
storageClass The storage class used by Amazon S3 for this object.