public class

UploadPartResult

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

Class Overview

Contains the details returned from Amazon S3 after calling the UploadPart operation.

Summary

Constants
long serialVersionUID
Fields
private String eTag The entity tag generated from the content of the upload part
private int partNumber The part number of the newly uploaded part
Public Constructors
UploadPartResult()
Public Methods
String getETag()
Returns the entity tag of the newly uploaded part.
PartETag getPartETag()
Returns an identifier which identifies the upload part by its part number and the entity tag computed from the part's data.
int getPartNumber()
Returns the part number of the newly uploaded part.
void setETag(String eTag)
Sets the entity tag of the newly uploaded part.
void setPartNumber(int partNumber)
Sets the part number of the newly uploaded part.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -875577465185046274 (0xf3d952ef364ef0fe)

Fields

private String eTag

The entity tag generated from the content of the upload part

private int partNumber

The part number of the newly uploaded part

Public Constructors

public UploadPartResult ()

Public Methods

public String getETag ()

Returns the entity tag of the newly uploaded part. The entity tag is needed later when the multipart upload is completed.

Returns
  • the entity tag of the newly uploaded part.

public PartETag getPartETag ()

Returns an identifier which identifies the upload part by its part number and the entity tag computed from the part's data. This information is later needed to complete a multipart upload.

Returns
  • An identifier which identifies the upload part by its part number and the entity tag computed from the part's data.

public int getPartNumber ()

Returns the part number of the newly uploaded part.

Returns
  • The part number of the newly uploaded part.

public void setETag (String eTag)

Sets the entity tag of the newly uploaded part.

Parameters
eTag The entity tag of the newly uploaded part.

public void setPartNumber (int partNumber)

Sets the part number of the newly uploaded part.

Parameters
partNumber The part number of the newly uploaded part.