Class DownloadOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension

    @ComponentProfile(summary="Amazon S3 Download using Transfer Manager")
    public class DownloadOperation
    extends TransferOperation
    Download an object from S3 using TransferManager.

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

    • Constructor Detail

      • DownloadOperation

        public DownloadOperation()
    • Method Detail

      • getTempDirectory

        public java.lang.String getTempDirectory()
        Returns:
        the tempDirectory
      • setTempDirectory

        public void setTempDirectory​(java.lang.String s)
        Set the temp directory to store files.
        Parameters:
        s - the tempDirectory to set, if not specified defaults to java.io.tmpdir
      • withTempDirectory

        public DownloadOperation withTempDirectory​(java.lang.String s)