Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.ibm.cloud.objectstorage.services.s3.internal | |
com.ibm.cloud.objectstorage.services.s3.internal.crypto.v1 | |
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.ibm.cloud.objectstorage.services.s3.transfer |
Transfer management.
|
com.ibm.cloud.objectstorage.services.s3.transfer.internal |
Modifier and Type | Method and Description |
---|---|
PutObjectResult |
AbstractAmazonS3.putObject(PutObjectRequest putObjectRequest) |
PutObjectResult |
AmazonS3Client.putObject(PutObjectRequest putObjectRequest) |
PutObjectResult |
AmazonS3.putObject(PutObjectRequest putObjectRequest)
Uploads a new object to the specified Amazon S3 bucket.
|
Modifier and Type | Method and Description |
---|---|
abstract PutObjectResult |
S3Direct.putObject(PutObjectRequest req) |
PutObjectResult |
S3DirectSpi.putObject(PutObjectRequest req) |
boolean |
SkipMd5CheckStrategy.skipClientSideValidationPerRequest(PutObjectRequest request)
Determines whether the client should use the
Headers.ETAG header returned by S3 to
validate the integrity of the message client side. |
boolean |
SkipMd5CheckStrategy.skipServerSideValidation(PutObjectRequest request)
Determines whether the client should calculate and send the
Headers.CONTENT_MD5
header to be validated by S3 per the request. |
Modifier and Type | Method and Description |
---|---|
protected PutObjectRequest |
S3CryptoModuleBase.createInstructionPutRequest(String bucketName,
String key,
com.ibm.cloud.objectstorage.services.s3.internal.crypto.v1.ContentCryptoMaterial cekMaterial) |
protected PutObjectRequest |
S3CryptoModuleBase.updateInstructionPutRequest(PutObjectRequest req,
com.ibm.cloud.objectstorage.services.s3.internal.crypto.v1.ContentCryptoMaterial cekMaterial)
Updates put request to store the specified instruction object in S3.
|
Modifier and Type | Method and Description |
---|---|
PutObjectResult |
S3CryptoModuleBase.putObjectSecurely(PutObjectRequest req) |
abstract PutObjectResult |
S3CryptoModule.putObjectSecurely(PutObjectRequest req) |
PutObjectResult |
CryptoModuleDispatcher.putObjectSecurely(PutObjectRequest putObjectRequest) |
protected PutObjectRequest |
S3CryptoModuleBase.updateInstructionPutRequest(PutObjectRequest req,
com.ibm.cloud.objectstorage.services.s3.internal.crypto.v1.ContentCryptoMaterial cekMaterial)
Updates put request to store the specified instruction object in S3.
|
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 |
---|---|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The Legal Hold status that you want to apply to the specified object.
|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The Legal Hold status that you want to apply to the specified object.
|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withObjectLockMode(ObjectLockMode objectLockMode)
The Object Lock mode that you want to apply to this object.
|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withObjectLockMode(String objectLockMode)
The Object Lock mode that you want to apply to this object.
|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
The date and time when you want this object's Object Lock to expire.
|
<T extends PutObjectRequest> |
AbstractPutObjectRequest.withTagging(com.ibm.cloud.objectstorage.services.s3.model.ObjectTagging tagSet) |
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)
Deprecated.
|
PutObjectRequest |
PutInstructionFileRequest.createPutObjectRequest(S3ObjectId objectId)
Creates and returns a
PutObjectRequest for the instruction file with the specified suffix. |
PutObjectRequest |
PutObjectRequest.withAccessControlList(AccessControlList accessControlList) |
PutObjectRequest |
PutObjectRequest.withBucketName(String bucketName) |
PutObjectRequest |
PutObjectRequest.withCannedAcl(CannedAccessControlList cannedAcl) |
PutObjectRequest |
PutObjectRequest.withFile(File file) |
PutObjectRequest |
PutObjectRequest.withInputStream(InputStream inputStream) |
PutObjectRequest |
PutObjectRequest.withKey(String key) |
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata) |
PutObjectRequest |
PutObjectRequest.withProgressListener(ProgressListener progressListener)
Deprecated.
|
PutObjectRequest |
PutObjectRequest.withRedirectLocation(String redirectLocation) |
PutObjectRequest |
PutObjectRequest.withRequesterPays(boolean isRequesterPays)
Used for conducting this operation from a Requester Pays Bucket.
|
PutObjectRequest |
PutObjectRequest.withSSEAwsKeyManagementParams(SSEAwsKeyManagementParams sseAwsKeyManagementParams) |
PutObjectRequest |
PutObjectRequest.withSSECustomerKey(SSECustomerKey sseKey) |
PutObjectRequest |
PutObjectRequest.withStorageClass(StorageClass storageClass) |
PutObjectRequest |
PutObjectRequest.withStorageClass(String storageClass) |
PutObjectRequest |
PutObjectRequest.withTagging(com.ibm.cloud.objectstorage.services.s3.model.ObjectTagging tagSet) |
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 UploadMonitor |
UploadMonitor.create(TransferManager manager,
UploadImpl transfer,
ExecutorService threadPool,
UploadCallable multipartUploadCallable,
PutObjectRequest putObjectRequest,
ProgressListenerChain progressListenerChain)
Constructs a new upload watcher and then immediately submits it to
the thread pool.
|
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 |
---|
CompleteMultipartUpload(String uploadId,
AmazonS3 s3,
PutObjectRequest putObjectRequest,
Future<List<PartETag>> partFutures,
List<PartETag> eTagsBeforeResume,
ProgressListenerChain progressListenerChain,
UploadMonitor monitor) |
UploadCallable(TransferManager transferManager,
ExecutorService threadPool,
UploadImpl upload,
PutObjectRequest origReq,
ProgressListenerChain progressListenerChain,
String uploadId,
TransferProgress transferProgress) |
UploadPartRequestFactory(PutObjectRequest origReq,
String uploadId,
long optimalPartSize) |
Copyright © 2024. All rights reserved.