public class

CopyPartResult

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

Class Overview

Result of the copy part operation.

Summary

Constants
long serialVersionUID
Fields
private String etag The ETag value of the new part
private Date lastModifiedDate The last modified date for the new part
private int partNumber The part number of the copied part
private String versionId The version ID of the source object.
Public Constructors
CopyPartResult()
Public Methods
String getETag()
Gets the ETag value for the new part that was created in the associated.
Date getLastModifiedDate()
Gets the date the newly copied part was last modified.
PartETag getPartETag()
Returns an identifier which identifies the copy part by its part number and the entity tag computed from the part's data.
int getPartNumber()
Gets the part number of the newly copied part.
String getVersionId()
Gets the version ID of the source object.
void setETag(String etag)
Sets the ETag value for the new part that was created from the associated copy object request.
void setLastModifiedDate(Date lastModifiedDate)
Sets the date the newly copied part was last modified.
void setPartNumber(int partNumber)
Sets the part number of the newly copied part.
void setVersionId(String versionId)
Sets the version ID of the source object.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -1161474703615981241 (0xefe19ce92b5e0947)

Fields

private String etag

The ETag value of the new part

private Date lastModifiedDate

The last modified date for the new part

private int partNumber

The part number of the copied part

private String versionId

The version ID of the source object. This field will only be present if object versioning has been enabled for the bucket from which the object was copied.

Public Constructors

public CopyPartResult ()

Public Methods

public String getETag ()

Gets the ETag value for the new part that was created in the associated.

Returns
  • The ETag value for the new part.

public Date getLastModifiedDate ()

Gets the date the newly copied part was last modified.

Returns
  • The date the newly copied part was last modified.

public PartETag getPartETag ()

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

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

public int getPartNumber ()

Gets the part number of the newly copied part.

public String getVersionId ()

Gets the version ID of the source object. This field is only present if object versioning has been enabled for the bucket the object was copied from.

Returns
  • The version ID of the newly copied object.

public void setETag (String etag)

Sets the ETag value for the new part that was created from the associated copy object request.

Parameters
etag The ETag value for the new part.

public void setLastModifiedDate (Date lastModifiedDate)

Sets the date the newly copied part was last modified.

Parameters
lastModifiedDate The date the new, copied part was last modified.

public void setPartNumber (int partNumber)

Sets the part number of the newly copied part.

Parameters
partNumber The part number of the newly uploaded part.

public void setVersionId (String versionId)

Sets the version ID of the source object.

Parameters
versionId The version ID of the source object.
See Also