Class CopyObjectResult


  • public class CopyObjectResult
    extends java.lang.Object
    Result of an S3 Copy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEtag()  
      java.lang.String getLastModified()  
      • Methods inherited from class java.lang.Object

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

      • CopyObjectResult

        public CopyObjectResult​(java.lang.String etag,
                                long lastModifiedEpoch)
        Create a new CopyObjectResult.
        Parameters:
        etag - etag included in the result
        lastModifiedEpoch - epoch time in ms which is converted to a timestamp string in the output
    • Method Detail

      • getEtag

        public java.lang.String getEtag()
        Returns:
        the ETag
      • getLastModified

        public java.lang.String getLastModified()
        Returns:
        the last modified timestamp