@ComponentProfile(summary="Amazon S3 Download using Transfer Manager") public class DownloadOperation extends TransferOperation
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.
log
Constructor and Description |
---|
DownloadOperation() |
Modifier and Type | Method and Description |
---|---|
void |
execute(ClientWrapper wrapper,
AdaptrisMessage msg) |
java.lang.String |
getTempDirectory() |
void |
setTempDirectory(java.lang.String s)
Set the temp directory to store files.
|
DownloadOperation |
withTempDirectory(java.lang.String s) |
filterMetadata, filterUserMetadata, getUserMetadataFilter, setUserMetadataFilter, withUserMetadataFilter
getObjectName, prepare, s3ObjectKey, setObjectName, withObjectName
getBucket, getBucketName, getKey, mustHaveEither, resolve, s3Bucket, setBucket, setBucketName, setKey, withBucket, withBucketName, withKey
public void execute(ClientWrapper wrapper, AdaptrisMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getTempDirectory()
public void setTempDirectory(java.lang.String s)
s
- the tempDirectory to set, if not specified defaults to java.io.tmpdir
public DownloadOperation withTempDirectory(java.lang.String s)