Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.internal | |
com.amazonaws.services.s3.internal.crypto | |
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.transfer |
Transfer management.
|
com.amazonaws.services.s3.transfer.internal |
Modifier and Type | Method and Description |
---|---|
PutObjectResult |
AmazonS3EncryptionClient.putObject(PutObjectRequest req)
Uploads a new object to the specified Amazon S3 bucket.
|
PutObjectResult |
AmazonS3.putObject(PutObjectRequest putObjectRequest)
Uploads a new object to the specified Amazon S3 bucket.
|
PutObjectResult |
AmazonS3Client.putObject(PutObjectRequest putObjectRequest) |
Modifier and Type | Method and Description |
---|---|
abstract PutObjectResult |
S3Direct.putObject(PutObjectRequest req) |
Modifier and Type | Method and Description |
---|---|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(PutObjectRequest request,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
protected PutObjectRequest |
S3CryptoModuleBase.createInstructionPutRequest(String bucketName,
String key,
com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial cekMaterial) |
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(String bucketName,
String key,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingMetadata(PutObjectRequest request,
EncryptionMaterials materials,
Provider cryptoProvider)
Deprecated.
no longer used and will be removed in the future
|
protected PutObjectRequest |
S3CryptoModuleBase.updateInstructionPutRequest(PutObjectRequest req,
com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial cekMaterial)
Updates put request to store the specified instruction object in S3.
|
protected PutObjectRequest |
S3CryptoModuleBase.wrapWithCipher(PutObjectRequest request,
com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial cekMaterial)
Returns a request that has the content as input stream wrapped with a
cipher, and configured with some meta data and user metadata.
|
Modifier and Type | Method and Description |
---|---|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(PutObjectRequest request,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingMetadata(PutObjectRequest request,
EncryptionMaterials materials,
Provider cryptoProvider)
Deprecated.
no longer used and will be removed in the future
|
protected long |
S3CryptoModuleBase.plaintextLength(PutObjectRequest request,
ObjectMetadata metadata)
Returns the plaintext length from the request and metadata; or -1 if
unknown.
|
PutObjectResult |
S3CryptoModuleBase.putObjectSecurely(PutObjectRequest req) |
abstract PutObjectResult |
S3CryptoModule.putObjectSecurely(PutObjectRequest req) |
PutObjectResult |
CryptoModuleDispatcher.putObjectSecurely(PutObjectRequest putObjectRequest) |
protected PutObjectRequest |
S3CryptoModuleBase.updateInstructionPutRequest(PutObjectRequest req,
com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial cekMaterial)
Updates put request to store the specified instruction object in S3.
|
static void |
EncryptionUtils.updateMetadataWithEncryptionInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Deprecated.
no longer used and will be removed in the future
|
protected PutObjectRequest |
S3CryptoModuleBase.wrapWithCipher(PutObjectRequest request,
com.amazonaws.services.s3.internal.crypto.ContentCryptoMaterial cekMaterial)
Returns a request that has the content as input stream wrapped with a
cipher, and configured with some meta data and user metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
EncryptedPutObjectRequest
This class is an extension of
PutObjectRequest to allow additional
encryption material description to be specified on a per-request basis.In
particular, EncryptedPutObjectRequest is only recognized by
AmazonS3EncryptionClient . |
Modifier and Type | Method and Description |
---|---|
PutObjectRequest |
PutObjectRequest.clone()
Returns a clone (as deep as possible) of this request object.
|
PutObjectRequest |
PutInstructionFileRequest.createPutObjectRequest(S3Object s3Object)
Creates and returns a
PutObjectRequest for the instruction file
with the specified suffix. |
PutObjectRequest |
PutObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
PutObjectRequest |
PutObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket where this request will upload a new
object to.
|
PutObjectRequest |
PutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
object.
|
PutObjectRequest |
PutObjectRequest.withFile(File file)
Sets the file containing the data to be uploaded to Amazon S3.
|
PutObjectRequest |
PutObjectRequest.withInputStream(InputStream inputStream)
Sets the input stream containing the data to be uploaded to Amazon S3.
|
PutObjectRequest |
PutObjectRequest.withKey(String key)
Sets the key under which to store the new object.
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g.
|
PutObjectRequest |
PutObjectRequest.withProgressListener(ProgressListener progressListener)
Deprecated.
|
PutObjectRequest |
PutObjectRequest.withRedirectLocation(String redirectLocation)
Sets the optional redirect location for the new object.Returns this
PutObjectRequest , enabling additional method calls to be chained
together. |
PutObjectRequest |
PutObjectRequest.withSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
encrypt the uploaded object, and returns the updated request object so
that additional method calls can be chained together.
|
PutObjectRequest |
PutObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
object.
|
PutObjectRequest |
PutObjectRequest.withStorageClass(String storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
object.
|
Modifier and Type | Method and Description |
---|---|
Upload |
TransferManager.upload(PutObjectRequest putObjectRequest)
Schedules a new transfer to upload data to Amazon S3.
|
Upload |
TransferManager.upload(PutObjectRequest putObjectRequest,
S3ProgressListener progressListener)
Schedules a new transfer to upload data to Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
static long |
TransferManagerUtils.calculateOptimalPartSize(PutObjectRequest putObjectRequest,
TransferManagerConfiguration configuration)
Returns the optimal part size, in bytes, for each individual part upload
in a multipart upload.
|
static long |
TransferManagerUtils.getContentLength(PutObjectRequest putObjectRequest)
Returns the size of the data in this request, otherwise -1 if the content
length is unknown.
|
static File |
TransferManagerUtils.getRequestFile(PutObjectRequest putObjectRequest)
Convenience method for getting the file specified in a request.
|
static boolean |
TransferManagerUtils.isUploadParallelizable(PutObjectRequest putObjectRequest,
boolean isUsingEncryption)
Returns true if the specified upload request can use parallel part
uploads for increased performance.
|
static boolean |
TransferManagerUtils.shouldUseMultipartUpload(PutObjectRequest putObjectRequest,
TransferManagerConfiguration configuration)
Returns true if the the specified request should be processed as a
multipart upload (instead of a single part upload).
|
Constructor and Description |
---|
UploadCallable(TransferManager transferManager,
ExecutorService threadPool,
UploadImpl upload,
PutObjectRequest putObjectRequest,
ProgressListenerChain progressListenerChain,
String uploadId,
TransferProgress transferProgress) |
UploadMonitor(TransferManager manager,
UploadImpl transfer,
ExecutorService threadPool,
UploadCallable multipartUploadCallable,
PutObjectRequest putObjectRequest,
ProgressListenerChain progressListenerChain)
Constructs a new upload watcher, which immediately submits itself to the
thread pool.
|
UploadPartRequestFactory(PutObjectRequest putObjectRequest,
String uploadId,
long optimalPartSize) |
Copyright © 2014. All rights reserved.