| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.s3.transfermanager |
The Transfer Manager is now deprecated, and has been replaced by
TransferUtility |
| com.amazonaws.mobileconnectors.s3.transferutility |
This package contains helper classes for managing upload and download tasks and a public
class
s3.transferservice.transferUtility
which is a high level client that provides methods to control users' upload and download tasks. |
| com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
| com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
Download.getObjectMetadata()
Deprecated.
Returns the ObjectMetadata for the object being downloaded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectMetadataProvider.provideObjectMetadata(File file,
ObjectMetadata metadata)
Deprecated.
|
Upload |
TransferManager.upload(String bucketName,
String key,
InputStream input,
ObjectMetadata objectMetadata)
Deprecated.
Schedules a new transfer to upload data to Amazon S3.
|
| Modifier and Type | Method and Description |
|---|---|
TransferObserver |
TransferUtility.upload(String bucket,
String key,
File file,
ObjectMetadata metadata)
Starts uploading the file to the given bucket, using the given key.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
AmazonS3Client.getObject(GetObjectRequest getObjectRequest,
File destinationFile) |
ObjectMetadata |
AmazonS3.getObject(GetObjectRequest getObjectRequest,
File destinationFile)
Gets the object metadata for the object stored in Amazon S3 under the
specified bucket and key, and saves the object contents to the specified
file.
|
ObjectMetadata |
AmazonS3EncryptionClient.getObject(GetObjectRequest req,
File dest) |
ObjectMetadata |
AmazonS3Client.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
AmazonS3.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified Amazon S3 object without actually
fetching the object itself.
|
ObjectMetadata |
AmazonS3Client.getObjectMetadata(String bucketName,
String key) |
ObjectMetadata |
AmazonS3.getObjectMetadata(String bucketName,
String key)
Gets the metadata for the specified Amazon S3 object without actually
fetching the object itself.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AmazonS3Client.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from
the
ObjectMetadata object. |
PutObjectResult |
AmazonS3Client.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
PutObjectResult |
AmazonS3.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to Amazon S3 under
the specified bucket and key name.
|
| Modifier and Type | Field and Description |
|---|---|
ObjectMetadata |
InitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as
content type, content encoding, user metadata, etc.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMetadata |
ObjectMetadata.clone() |
ObjectMetadata |
PutObjectRequest.getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
ObjectMetadata |
S3Object.getObjectMetadata()
Gets the metadata stored by Amazon S3 for this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PutObjectRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object.
|
void |
InitiateMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
void |
S3Object.setObjectMetadata(ObjectMetadata metadata)
Sets the object metadata for this object.
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
| Constructor and Description |
|---|
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata) |
EncryptedPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
InitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata)
Constructs a request to initiate a new multipart upload in the specified
bucket, stored by the specified key, and with the additional specified
object metadata.
|
PutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Constructs a new
PutObjectRequest object to upload a stream of
data to the specified bucket and key. |
Copyright © 2016. All rights reserved.