Package | Description |
---|---|
software.amazon.awssdk.services.s3 |
|
software.amazon.awssdk.services.s3.model |
Modifier and Type | Method and Description |
---|---|
default CopyObjectResponse |
S3Client.copyObject(Consumer<CopyObjectRequest.Builder> copyObjectRequest)
Creates a copy of an object that is already stored in Amazon S3.
|
default CompletableFuture<CopyObjectResponse> |
S3AsyncClient.copyObject(Consumer<CopyObjectRequest.Builder> copyObjectRequest)
Creates a copy of an object that is already stored in Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.acl(ObjectCannedACL acl)
The canned ACL to apply to the object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.acl(String acl)
The canned ACL to apply to the object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.bucket(String destinationBucket)
Deprecated.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.bucketKeyEnabled(Boolean bucketKeyEnabled)
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption
using AWS KMS (SSE-KMS).
|
static CopyObjectRequest.Builder |
CopyObjectRequest.builder() |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.cacheControl(String cacheControl)
Specifies caching behavior along the request/reply chain.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.contentDisposition(String contentDisposition)
Specifies presentational information for the object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.contentEncoding(String contentEncoding)
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.contentLanguage(String contentLanguage)
The language the content is in.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.contentType(String contentType)
A standard MIME type describing the format of the object data.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySource(String copySource)
Deprecated.
The
copySource parameter has been deprecated in favor of the more user-friendly
sourceBucket , sourceKey , and sourceVersionId parameters. The
copySource parameter will remain fully functional, but it must not be used in conjunction
with its replacement parameters. |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceIfMatch(String copySourceIfMatch)
Copies the object if its entity tag (ETag) matches the specified tag.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceIfModifiedSince(Instant copySourceIfModifiedSince)
Copies the object if it has been modified since the specified time.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceIfNoneMatch(String copySourceIfNoneMatch)
Copies the object if its entity tag (ETag) is different than the specified ETag.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceIfUnmodifiedSince(Instant copySourceIfUnmodifiedSince)
Copies the object if it hasn't been modified since the specified time.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceSSECustomerAlgorithm(String copySourceSSECustomerAlgorithm)
Specifies the algorithm to use when decrypting the source object (for example, AES256).
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceSSECustomerKey(String copySourceSSECustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.copySourceSSECustomerKeyMD5(String copySourceSSECustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.destinationBucket(String destinationBucket)
The name of the destination bucket.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.destinationKey(String destinationKey)
The key of the destination object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected destination bucket owner.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.expectedSourceBucketOwner(String expectedSourceBucketOwner)
The account ID of the expected source bucket owner.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.expires(Instant expires)
The date and time at which the object is no longer cacheable.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.grantFullControl(String grantFullControl)
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.grantRead(String grantRead)
Allows grantee to read the object data and its metadata.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.grantReadACP(String grantReadACP)
Allows grantee to read the object ACL.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.key(String destinationKey)
Deprecated.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.metadata(Map<String,String> metadata)
A map of metadata to store with the object in S3.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.metadataDirective(MetadataDirective metadataDirective)
Specifies whether the metadata is copied from the source object or replaced with metadata provided in the
request.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.metadataDirective(String metadataDirective)
Specifies whether the metadata is copied from the source object or replaced with metadata provided in the
request.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.objectLockLegalHoldStatus(ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
Specifies whether you want to apply a Legal Hold to the copied object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Specifies whether you want to apply a Legal Hold to the copied object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.objectLockMode(ObjectLockMode objectLockMode)
The Object Lock mode that you want to apply to the copied object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.objectLockMode(String objectLockMode)
The Object Lock mode that you want to apply to the copied object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date and time when you want the copied object's Object Lock to expire.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.serverSideEncryption(ServerSideEncryption serverSideEncryption)
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256,
aws:kms).
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.serverSideEncryption(String serverSideEncryption)
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256,
aws:kms).
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sourceBucket(String sourceBucket)
The name of the bucket containing the object to copy.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sourceKey(String sourceKey)
The key of the object to copy.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sourceVersionId(String sourceVersionId)
Specifies a particular version of the source object to copy.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sseCustomerAlgorithm(String sseCustomerAlgorithm)
Specifies the algorithm to use to when encrypting the object (for example, AES256).
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sseCustomerKey(String sseCustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.sseCustomerKeyMD5(String sseCustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.ssekmsEncryptionContext(String ssekmsEncryptionContext)
Specifies the Amazon Web Services KMS Encryption Context to use for object encryption.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.ssekmsKeyId(String ssekmsKeyId)
Specifies the Amazon Web Services KMS key ID to use for object encryption.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.storageClass(StorageClass storageClass)
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.storageClass(String storageClass)
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.tagging(String tagging)
The tag-set for the object destination object this value must be used in conjunction with the
TaggingDirective . |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.tagging(Tagging tagging) |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.taggingDirective(String taggingDirective)
Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in
the request.
|
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.taggingDirective(TaggingDirective taggingDirective)
Specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in
the request.
|
CopyObjectRequest.Builder |
CopyObjectRequest.toBuilder() |
CopyObjectRequest.Builder |
CopyObjectRequest.Builder.websiteRedirectLocation(String websiteRedirectLocation)
If the bucket is configured as a website, redirects requests for this object to another object in the same
bucket or to an external URL.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends CopyObjectRequest.Builder> |
CopyObjectRequest.serializableBuilderClass() |
Copyright © 2021. All rights reserved.