Example usage for Java com.amazonaws.services.s3.transfer TransferManager fields, constructors, methods, implement or subclass
The text is from its open source code.
TransferManager(AWSCredentialsProvider credentialsProvider) Constructs a new TransferManager and Amazon S3 client using the specified AWS security credentials provider. | |
TransferManager(AWSCredentials credentials) Constructs a new TransferManager and Amazon S3 client using the specified AWS security credentials. | |
TransferManager(AmazonS3 s3) Constructs a new TransferManager , specifying the client to use when making requests to Amazon S3. | |
TransferManager(TransferManagerParams params) | |
TransferManager(TransferManagerBuilder builder) Constructor for use by classes that need to extend the TransferManager. | |
TransferManager() Constructs a new TransferManager and Amazon S3 client using the credentials from DefaultAWSCredentialsProviderChain | |
TransferManager(AmazonS3 s3, ExecutorService executorService) Constructs a new TransferManager specifying the client and thread pool to use when making requests to Amazon S3. | |
TransferManager(AmazonS3 s3, ExecutorService executorService, boolean shutDownThreadPools) Constructs a new TransferManager specifying the client and thread pool to use when making requests to Amazon S3. |
void | abortMultipartUploads(String bucketName, Date date) Aborts any multipart uploads that were initiated before the specified date. |
X | appendSingleObjectUserAgent(X request) |
Copy | copy(String sourceBucketName, String sourceKey, String destinationBucketName, String destinationKey) Schedules a new transfer to copy data from one Amazon S3 location to another Amazon S3 location. |
Copy | copy(final CopyObjectRequest copyObjectRequest) Schedules a new transfer to copy data from one Amazon S3 location to another Amazon S3 location. |
Download | download(String bucket, String key, File file) Schedules a new transfer to download data from Amazon S3 and save it to the specified file. |
Download | download(final GetObjectRequest getObjectRequest, final File file, long timeoutMillis) Schedules a new transfer to download data from Amazon S3 and save it to the specified file. |
Download | download(final GetObjectRequest getObjectRequest, final File file, final S3ProgressListener progressListener) Schedules a new transfer to download data from Amazon S3 and save it to the specified file. |
PresignedUrlDownload | download(final PresignedUrlDownloadRequest request, final File destFile, final PresignedUrlDownloadConfig downloadContext) Schedules a new transfer to download data from Amazon S3 using presigned url and save it to the specified file. |
MultipleFileDownload | downloadDirectory(String bucketName, String keyPrefix, File destinationDirectory) |
MultipleFileDownload | downloadDirectory(String bucketName, String keyPrefix, File destinationDirectory, KeyFilter filter) |
MultipleFileDownload | downloadDirectory(String bucketName, String keyPrefix, File destinationDirectory, boolean resumeOnRetry) |
AmazonS3 | getAmazonS3Client() Returns the underlying Amazon S3 client used to make requests to Amazon S3. |
TransferManagerConfiguration | getConfiguration() Returns the configuration which specifies how this TransferManager processes requests. |
void | setConfiguration(TransferManagerConfiguration configuration) Sets the configuration which specifies how this TransferManager processes requests. |
void | shutdownNow() Forcefully shuts down this TransferManager instance - currently executing transfers will not be allowed to finish. |
void | shutdownNow(boolean shutDownS3Client) Forcefully shuts down this TransferManager instance - currently executing transfers will not be allowed to finish. |
Upload | upload(final String bucketName, final String key, final File file) Schedules a new transfer to upload data to Amazon S3. |
Upload | upload(final PutObjectRequest putObjectRequest) Schedules a new transfer to upload data to Amazon S3. |
Upload | upload(final String bucketName, final String key, final InputStream input, ObjectMetadata objectMetadata) Schedules a new transfer to upload data to Amazon S3. |
MultipleFileUpload | uploadDirectory(String bucketName, String virtualDirectoryKeyPrefix, File directory, boolean includeSubdirectories) Uploads all files in the directory given to the bucket named, optionally recursing for all subdirectories. |
MultipleFileUpload | uploadDirectory(String bucketName, String virtualDirectoryKeyPrefix, File directory, boolean includeSubdirectories, ObjectMetadataProvider metadataProvider) Uploads all files in the directory given to the bucket named, optionally recursing for all subdirectories. |
MultipleFileUpload | uploadFileList(String bucketName, String virtualDirectoryKeyPrefix, File directory, List Uploads all specified files to the bucket named, constructing relative keys depending on the commonParentDirectory given. |
MultipleFileUpload | uploadFileList(String bucketName, String virtualDirectoryKeyPrefix, File directory, List Uploads all specified files to the bucket named, constructing relative keys depending on the commonParentDirectory given. |