Struct aws_sdk_s3control::model::s3_copy_object_operation::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for S3CopyObjectOperation
Implementations
Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named "destinationBucket", set the TargetResource to "arn:aws:s3:::destinationBucket".
Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named "destinationBucket", set the TargetResource to "arn:aws:s3:::destinationBucket".
Appends an item to access_control_grants
.
To override the contents of this collection use set_access_control_grants
.
Appends an item to new_object_tagging
.
To override the contents of this collection use set_new_object_tagging
.
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.
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.
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/".
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/".
The legal hold status to be applied to all objects in the Batch Operations job.
pub fn set_object_lock_legal_hold_status(
self,
input: Option<S3ObjectLockLegalHoldStatus>
) -> Self
pub fn set_object_lock_legal_hold_status(
self,
input: Option<S3ObjectLockLegalHoldStatus>
) -> Self
The legal hold status to be applied to all objects in the Batch Operations job.
The retention mode to be applied to all objects in the Batch Operations job.
The retention mode to be applied to all objects in the Batch Operations job.
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
The date when the applied object retention configuration expires on all objects in the Batch Operations job.
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.
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.
Consumes the builder and constructs a S3CopyObjectOperation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more