Class CopyPartResult

java.lang.Object
com.amazonaws.services.s3.internal.SSEResultBase
com.amazonaws.services.s3.model.CopyPartResult
All Implemented Interfaces:
com.amazonaws.services.s3.internal.ServerSideEncryptionResult, Serializable

public class CopyPartResult extends com.amazonaws.services.s3.internal.SSEResultBase implements Serializable
Result of the copy part operation.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ETag value for the new part that was created in the associated CopyPartRequest.
    Gets the date the newly copied part was last modified.
    Returns an identifier which identifies the copy part by its part number and the entity tag computed from the part's data.
    int
    Gets the part number of the newly copied part.
    Gets the version ID of the source object.
    void
    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.

    Methods inherited from class com.amazonaws.services.s3.internal.SSEResultBase

    getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CopyPartResult

      public CopyPartResult()
  • Method Details

    • getPartNumber

      public int getPartNumber()
      Gets the part number of the newly copied part.
    • setPartNumber

      public void setPartNumber(int partNumber)
      Sets the part number of the newly copied part.
      Parameters:
      partNumber - the part number of the newly uploaded part.
    • getETag

      public String getETag()
      Gets the ETag value for the new part that was created in the associated CopyPartRequest.
      Returns:
      The ETag value for the new part.
      See Also:
    • setETag

      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.
      See Also:
    • getPartETag

      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.
    • getLastModifiedDate

      public Date getLastModifiedDate()
      Gets the date the newly copied part was last modified.
      Returns:
      The date the newly copied part was last modified.
      See Also:
    • setLastModifiedDate

      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.
      See Also:
    • getVersionId

      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.
      See Also:
    • setVersionId

      public void setVersionId(String versionId)
      Sets the version ID of the source object.
      Parameters:
      versionId - The version ID of the source object.
      See Also: