Class CopyOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension

    @ComponentProfile(summary="Copy an object in S3 to another Object")
    public class CopyOperation
    extends CopyOperationImpl
    Copy an object from S3 to another object

    Effectively uses AmazonS3Client.copyObject(String, String, String, String) using only the default behaviour. Note that by default the server-side-encryption, storage-class and website-redirect-location are not copied to the destination object. If you need those settings then you should probably think about using ExtendedCopyOperation instead.

    In the adapter configuration file this class is aliased as amazon-s3-copy which is the preferred alternative to the fully qualified classname when building your configuration.