public static interface S3CopyObjectOperation.Builder extends SdkPojo, CopyableBuilder<S3CopyObjectOperation.Builder,S3CopyObjectOperation>
| Modifier and Type | Method and Description |
|---|---|
S3CopyObjectOperation.Builder |
accessControlGrants(Collection<S3Grant> accessControlGrants)
|
S3CopyObjectOperation.Builder |
accessControlGrants(Consumer<S3Grant.Builder>... accessControlGrants)
This is a convenience method that creates an instance of the
S3Grant.Builder avoiding the need to create one
manually via S3Grant.builder(). |
S3CopyObjectOperation.Builder |
accessControlGrants(S3Grant... accessControlGrants)
|
S3CopyObjectOperation.Builder |
bucketKeyEnabled(Boolean bucketKeyEnabled)
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption
using Amazon Web Services KMS (SSE-KMS).
|
S3CopyObjectOperation.Builder |
cannedAccessControlList(S3CannedAccessControlList cannedAccessControlList)
|
S3CopyObjectOperation.Builder |
cannedAccessControlList(String cannedAccessControlList)
|
S3CopyObjectOperation.Builder |
checksumAlgorithm(S3ChecksumAlgorithm checksumAlgorithm)
Indicates the algorithm you want Amazon S3 to use to create the checksum.
|
S3CopyObjectOperation.Builder |
checksumAlgorithm(String checksumAlgorithm)
Indicates the algorithm you want Amazon S3 to use to create the checksum.
|
S3CopyObjectOperation.Builder |
metadataDirective(S3MetadataDirective metadataDirective)
|
S3CopyObjectOperation.Builder |
metadataDirective(String metadataDirective)
|
S3CopyObjectOperation.Builder |
modifiedSinceConstraint(Instant modifiedSinceConstraint)
|
default S3CopyObjectOperation.Builder |
newObjectMetadata(Consumer<S3ObjectMetadata.Builder> newObjectMetadata)
If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects.
|
S3CopyObjectOperation.Builder |
newObjectMetadata(S3ObjectMetadata newObjectMetadata)
If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects.
|
S3CopyObjectOperation.Builder |
newObjectTagging(Collection<S3Tag> newObjectTagging)
|
S3CopyObjectOperation.Builder |
newObjectTagging(Consumer<S3Tag.Builder>... newObjectTagging)
This is a convenience method that creates an instance of the
S3Tag.Builder avoiding the need to create one
manually via S3Tag.builder(). |
S3CopyObjectOperation.Builder |
newObjectTagging(S3Tag... newObjectTagging)
|
S3CopyObjectOperation.Builder |
objectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockMode(S3ObjectLockMode objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockMode(String objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
|
S3CopyObjectOperation.Builder |
redirectLocation(String redirectLocation)
Specifies an optional metadata property for website redirects,
x-amz-website-redirect-location. |
S3CopyObjectOperation.Builder |
requesterPays(Boolean requesterPays)
|
S3CopyObjectOperation.Builder |
sseAwsKmsKeyId(String sseAwsKmsKeyId)
|
S3CopyObjectOperation.Builder |
storageClass(S3StorageClass storageClass)
|
S3CopyObjectOperation.Builder |
storageClass(String storageClass)
|
S3CopyObjectOperation.Builder |
targetKeyPrefix(String targetKeyPrefix)
Specifies the folder prefix into which you would like the objects to be copied.
|
S3CopyObjectOperation.Builder |
targetResource(String targetResource)
Specifies the destination bucket ARN for the batch copy operation.
|
S3CopyObjectOperation.Builder |
unModifiedSinceConstraint(Instant unModifiedSinceConstraint)
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3CopyObjectOperation.Builder targetResource(String targetResource)
Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket
named destinationBucket, set the TargetResource property to
arn:aws:s3:::destinationBucket.
targetResource - Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a
bucket named destinationBucket, set the TargetResource property to
arn:aws:s3:::destinationBucket.S3CopyObjectOperation.Builder cannedAccessControlList(String cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlList,
S3CannedAccessControlListS3CopyObjectOperation.Builder cannedAccessControlList(S3CannedAccessControlList cannedAccessControlList)
cannedAccessControlList - S3CannedAccessControlList,
S3CannedAccessControlListS3CopyObjectOperation.Builder accessControlGrants(Collection<S3Grant> accessControlGrants)
accessControlGrants - S3CopyObjectOperation.Builder accessControlGrants(S3Grant... accessControlGrants)
accessControlGrants - S3CopyObjectOperation.Builder accessControlGrants(Consumer<S3Grant.Builder>... accessControlGrants)
S3Grant.Builder avoiding the need to create one
manually via S3Grant.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #accessControlGrants(List.
accessControlGrants - a consumer that will call methods on
S3Grant.Builder#accessControlGrants(java.util.Collection) S3CopyObjectOperation.Builder metadataDirective(String metadataDirective)
metadataDirective - S3MetadataDirective,
S3MetadataDirectiveS3CopyObjectOperation.Builder metadataDirective(S3MetadataDirective metadataDirective)
metadataDirective - S3MetadataDirective,
S3MetadataDirectiveS3CopyObjectOperation.Builder modifiedSinceConstraint(Instant modifiedSinceConstraint)
modifiedSinceConstraint - S3CopyObjectOperation.Builder newObjectMetadata(S3ObjectMetadata newObjectMetadata)
If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects.
newObjectMetadata - If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If
you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied
tags to the new objects.default S3CopyObjectOperation.Builder newObjectMetadata(Consumer<S3ObjectMetadata.Builder> newObjectMetadata)
If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects.
This is a convenience method that creates an instance of theS3ObjectMetadata.Builder avoiding the
need to create one manually via S3ObjectMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to newObjectMetadata(S3ObjectMetadata).
newObjectMetadata - a consumer that will call methods on S3ObjectMetadata.BuildernewObjectMetadata(S3ObjectMetadata)S3CopyObjectOperation.Builder newObjectTagging(Collection<S3Tag> newObjectTagging)
newObjectTagging - S3CopyObjectOperation.Builder newObjectTagging(S3Tag... newObjectTagging)
newObjectTagging - S3CopyObjectOperation.Builder newObjectTagging(Consumer<S3Tag.Builder>... newObjectTagging)
S3Tag.Builder avoiding the need to create one
manually via S3Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #newObjectTagging(List.
newObjectTagging - a consumer that will call methods on
S3Tag.Builder#newObjectTagging(java.util.Collection) S3CopyObjectOperation.Builder redirectLocation(String redirectLocation)
Specifies an optional metadata property for website redirects, x-amz-website-redirect-location.
Allows webpage redirects if the object is accessed through a website endpoint.
redirectLocation - Specifies an optional metadata property for website redirects,
x-amz-website-redirect-location. Allows webpage redirects if the object is accessed
through a website endpoint.S3CopyObjectOperation.Builder requesterPays(Boolean requesterPays)
requesterPays - S3CopyObjectOperation.Builder storageClass(String storageClass)
storageClass - S3StorageClass,
S3StorageClassS3CopyObjectOperation.Builder storageClass(S3StorageClass storageClass)
storageClass - S3StorageClass,
S3StorageClassS3CopyObjectOperation.Builder unModifiedSinceConstraint(Instant unModifiedSinceConstraint)
unModifiedSinceConstraint - S3CopyObjectOperation.Builder sseAwsKmsKeyId(String sseAwsKmsKeyId)
sseAwsKmsKeyId - S3CopyObjectOperation.Builder targetKeyPrefix(String targetKeyPrefix)
Specifies the folder prefix into which you would like the objects to be copied. For example, to copy objects
into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix to
Folder1.
targetKeyPrefix - Specifies the folder prefix into which you would like the objects to be copied. For example, to copy
objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix to
Folder1.S3CopyObjectOperation.Builder objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
objectLockLegalHoldStatus - The legal hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatus,
S3ObjectLockLegalHoldStatusS3CopyObjectOperation.Builder objectLockLegalHoldStatus(S3ObjectLockLegalHoldStatus objectLockLegalHoldStatus)
The legal hold status to be applied to all objects in the Batch Operations job.
objectLockLegalHoldStatus - The legal hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatus,
S3ObjectLockLegalHoldStatusS3CopyObjectOperation.Builder objectLockMode(String objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
objectLockMode - The retention mode to be applied to all objects in the Batch Operations job.S3ObjectLockMode,
S3ObjectLockModeS3CopyObjectOperation.Builder objectLockMode(S3ObjectLockMode objectLockMode)
The retention mode to be applied to all objects in the Batch Operations job.
objectLockMode - The retention mode to be applied to all objects in the Batch Operations job.S3ObjectLockMode,
S3ObjectLockModeS3CopyObjectOperation.Builder objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
objectLockRetainUntilDate - The date when the applied object retention configuration expires on all objects in the Batch
Operations job.S3CopyObjectOperation.Builder bucketKeyEnabled(Boolean bucketKeyEnabled)
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption
using Amazon Web Services KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an
S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
bucketKeyEnabled - Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side
encryption using Amazon Web Services KMS (SSE-KMS). Setting this header to true causes
Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
S3CopyObjectOperation.Builder checksumAlgorithm(String checksumAlgorithm)
Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking object integrity in the Amazon S3 User Guide.
checksumAlgorithm - Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking
object integrity in the Amazon S3 User Guide.S3ChecksumAlgorithm,
S3ChecksumAlgorithmS3CopyObjectOperation.Builder checksumAlgorithm(S3ChecksumAlgorithm checksumAlgorithm)
Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking object integrity in the Amazon S3 User Guide.
checksumAlgorithm - Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking
object integrity in the Amazon S3 User Guide.S3ChecksumAlgorithm,
S3ChecksumAlgorithmCopyright © 2022. All rights reserved.