Class DownloadOperation

All Implemented Interfaces:
S3Operation, ComponentLifecycleExtension

@ComponentProfile(summary="Amazon S3 Download using Transfer Manager", since="4.3.0") public class DownloadOperation extends TransferOperation
Download an object from S3.
Since:
4.3.0

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 Details

    • DownloadOperation

      public DownloadOperation()
  • Method Details

    • execute

      public void execute(ClientWrapper wrapper, AdaptrisMessage msg) throws Exception
      Throws:
      Exception
    • getTempDirectory

      public String getTempDirectory()
      Returns:
      the tempDirectory
    • setTempDirectory

      public void setTempDirectory(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(String s)