Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3 |
Synchronous client for accessing Amazon S3.
|
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 |
---|---|
CopyObjectResult |
AmazonS3Client.copyObject(CopyObjectRequest copyObjectRequest) |
CopyObjectResult |
AbstractAmazonS3.copyObject(CopyObjectRequest copyObjectRequest) |
CopyObjectResult |
AmazonS3.copyObject(CopyObjectRequest copyObjectRequest)
Copies a source object to a new destination in Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
CopyObjectRequest |
CopyObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
CopyObjectRequest |
CopyObjectRequest.withCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object, and returns this
CopyObjectRequest , enabling additional method calls to be chained
together. |
CopyObjectRequest |
CopyObjectRequest.withDestinationBucketName(String destinationBucketName)
Sets the name of the destination bucket which will contain the new,
copied object and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withDestinationKey(String destinationKey)
Sets the destination bucket key under which the new, copied object
will be stored and returns this object, enabling additional method calls
can be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withDestinationSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
encrypt the destination object being copied, and returns the updated
request object so that additional method calls can be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withMatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object,
enabling additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withMetadataDirective(MetadataDirective metadataDirective)
Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.
|
CopyObjectRequest |
CopyObjectRequest.withMetadataDirective(String metadataDirective)
Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.
|
CopyObjectRequest |
CopyObjectRequest.withModifiedSinceConstraint(Date date)
Sets the optional modified constraint that restricts this request
to executing only if the source object has been modified
after the specified date.
|
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.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectTagging(com.ibm.cloud.objectstorage.services.s3.model.ObjectTagging newObjectTagging)
set the tagging for the new object.
|
CopyObjectRequest |
CopyObjectRequest.withNonmatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object, enabling
additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Specifies whether you want to apply a Legal Hold to the copied object.
|
CopyObjectRequest |
CopyObjectRequest.withObjectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Specifies whether you want to apply a Legal Hold to the copied object.
|
CopyObjectRequest |
CopyObjectRequest.withObjectLockMode(ObjectLockMode objectLockMode)
The Object Lock mode that you want to apply to the copied object.
|
CopyObjectRequest |
CopyObjectRequest.withObjectLockMode(String objectLockMode)
The Object Lock mode that you want to apply to the copied object.
|
CopyObjectRequest |
CopyObjectRequest.withObjectLockRetainUntilDate(Date objectLockRetainUntilDate)
The date and time when you want this object's Object Lock to expire.
|
CopyObjectRequest |
CopyObjectRequest.withRedirectLocation(String redirectLocation)
Sets the optional redirect location for the newly copied object.Returns this
CopyObjectRequest , enabling additional method calls to be chained
together. |
CopyObjectRequest |
CopyObjectRequest.withRequesterPays(boolean isRequesterPays)
Used for conducting this operation from a Requester Pays Bucket.
|
CopyObjectRequest |
CopyObjectRequest.withSourceBucketName(String sourceBucketName)
Sets the name of the bucket containing the source object to be copied,
and returns this object, enabling additional method calls to be chained
together.
|
CopyObjectRequest |
CopyObjectRequest.withSourceKey(String sourceKey)
Sets the key in the source bucket under which the source object to be
copied is stored and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withSourceSSECustomerKey(SSECustomerKey sseKey)
Sets the optional customer-provided server-side encryption key to use to
decrypt the source object being copied, and returns the updated request
object so that additional method calls can be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withSourceVersionId(String sourceVersionId)
Sets the optional version ID specifying which version of the source
object to copy and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withSSEAwsKeyManagementParams(SSEAwsKeyManagementParams sseAwsKeyManagementParams)
Sets the Amazon Web Services Key Management System parameters used to encrypt the object
on server side.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Amazon S3 storage class to use when storing the newly
copied object and returns this CopyObjectRequest, enabling additional
method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(String storageClass)
Sets the optional Amazon S3 storage class to use when storing the newly
copied object and returns this
CopyObjectRequest , enabling additional
method calls to be chained together. |
CopyObjectRequest |
CopyObjectRequest.withUnmodifiedSinceConstraint(Date date)
Sets the optional unmodified constraint that restricts this request
to executing only if the source object has not been
modified after the specified date.
|
Modifier and Type | Method and Description |
---|---|
Copy |
TransferManager.copy(CopyObjectRequest copyObjectRequest)
Schedules a new transfer to copy data from one Amazon S3 location to
another Amazon S3 location.
|
Copy |
TransferManager.copy(CopyObjectRequest copyObjectRequest,
AmazonS3 srcS3,
TransferStateChangeListener stateChangeListener)
Schedules a new transfer to copy data from one Amazon S3 location to
another Amazon S3 location.
|
Copy |
TransferManager.copy(CopyObjectRequest copyObjectRequest,
TransferStateChangeListener stateChangeListener)
Schedules a new transfer to copy data from one Amazon S3 location to
another Amazon S3 location.
|
Modifier and Type | Method and Description |
---|---|
static long |
TransferManagerUtils.calculateOptimalPartSizeForCopy(CopyObjectRequest copyObjectRequest,
TransferManagerConfiguration configuration,
long contentLengthOfSource)
Calculates the optimal part size of each part request if the copy
operation is carried out as multi-part copy.
|
static CopyMonitor |
CopyMonitor.create(TransferManager manager,
CopyImpl transfer,
ExecutorService threadPool,
CopyCallable multipartCopyCallable,
CopyObjectRequest copyObjectRequest,
ProgressListenerChain progressListenerChain)
Constructs a new watcher for copy operation, and then immediately submits
it to the thread pool.
|
Constructor and Description |
---|
CompleteMultipartCopy(String uploadId,
AmazonS3 s3,
CopyObjectRequest copyObjectRequest,
List<Future<PartETag>> futures,
ProgressListenerChain progressListenerChain,
CopyMonitor monitor) |
CopyCallable(TransferManager transferManager,
ExecutorService threadPool,
CopyImpl copy,
CopyObjectRequest copyObjectRequest,
ObjectMetadata metadata,
ProgressListenerChain progressListenerChain) |
CopyPartRequestFactory(CopyObjectRequest origReq,
String uploadId,
long optimalPartSize,
long contentLength) |
Copyright © 2024. All rights reserved.