public class

PartSummary

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

Class Overview

Container for summary information about a part in a multipart upload, such as part number, size, etc.

Summary

Constants
long serialVersionUID
Fields
private String eTag The entity tag generated from the part content.
private Date lastModified The date at which this part was last modified.
private int partNumber The part number describing this part's position relative to the other parts in the multipart upload.
private long size The size, in bytes, of the part.
Public Constructors
PartSummary()
Public Methods
String getETag()
Returns the entity tag generated from the part content.
Date getLastModified()
Returns the date this part was last modified.
int getPartNumber()
Returns the part number describing this part's position relative to the other parts in the multipart upload.
long getSize()
Returns the size of this part, in bytes.
void setETag(String eTag)
Sets the entity tag generated from the part content.
void setLastModified(Date lastModified)
Sets the date this part was last modified.
void setPartNumber(int partNumber)
Sets the part number describing this part's position relative to the other parts in the multipart upload.
void setSize(long size)
Sets the size of this part, in bytes.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 4197461434261649875 (0x3a4060ef739139d3)

Fields

private String eTag

The entity tag generated from the part content.

private Date lastModified

The date at which this part was last modified.

private int partNumber

The part number describing this part's position relative to the other parts in the multipart upload. Part number must be between 1 and 10,000 (inclusive).

private long size

The size, in bytes, of the part.

Public Constructors

public PartSummary ()

Public Methods

public String getETag ()

Returns the entity tag generated from the part content.

Returns
  • the entity tag generated from the part content.

public Date getLastModified ()

Returns the date this part was last modified.

Returns
  • the date this part was last modified.

public int getPartNumber ()

Returns the part number describing this part's position relative to the other parts in the multipart upload. Part number must be between 1 and 10,000 (inclusive).

Returns
  • the part number describing this part's position relative to the other parts in the multipart upload. Part number must be between 1 and 10,000 (inclusive).

public long getSize ()

Returns the size of this part, in bytes.

Returns
  • the size of this part, in bytes.

public void setETag (String eTag)

Sets the entity tag generated from the part content.

Parameters
eTag The entity tag generated from the part content.

public void setLastModified (Date lastModified)

Sets the date this part was last modified.

Parameters
lastModified The date this part was last modified.

public void setPartNumber (int partNumber)

Sets the part number describing this part's position relative to the other parts in the multipart upload. Part number must be between 1 and 10,000 (inclusive).

Parameters
partNumber The part number describing this part's position relative to the other parts in the multipart upload. Part number must be between 1 and 10,000 (inclusive).

public void setSize (long size)

Sets the size of this part, in bytes.

Parameters
size The size of this part, in bytes.