#[non_exhaustive]pub struct UploadPartCopyOutputBuilder { /* private fields */ }
Expand description
A builder for UploadPartCopyOutput
.
Implementations§
source§impl UploadPartCopyOutputBuilder
impl UploadPartCopyOutputBuilder
sourcepub fn copy_source_version_id(self, input: impl Into<String>) -> Self
pub fn copy_source_version_id(self, input: impl Into<String>) -> Self
The version of the source object that was copied, if you have enabled versioning on the source bucket.
sourcepub fn set_copy_source_version_id(self, input: Option<String>) -> Self
pub fn set_copy_source_version_id(self, input: Option<String>) -> Self
The version of the source object that was copied, if you have enabled versioning on the source bucket.
sourcepub fn get_copy_source_version_id(&self) -> &Option<String>
pub fn get_copy_source_version_id(&self) -> &Option<String>
The version of the source object that was copied, if you have enabled versioning on the source bucket.
sourcepub fn copy_part_result(self, input: CopyPartResult) -> Self
pub fn copy_part_result(self, input: CopyPartResult) -> Self
Container for all response elements.
sourcepub fn set_copy_part_result(self, input: Option<CopyPartResult>) -> Self
pub fn set_copy_part_result(self, input: Option<CopyPartResult>) -> Self
Container for all response elements.
sourcepub fn get_copy_part_result(&self) -> &Option<CopyPartResult>
pub fn get_copy_part_result(&self) -> &Option<CopyPartResult>
Container for all response elements.
sourcepub fn server_side_encryption(self, input: ServerSideEncryption) -> Self
pub fn server_side_encryption(self, input: ServerSideEncryption) -> Self
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
sourcepub fn set_server_side_encryption(
self,
input: Option<ServerSideEncryption>
) -> Self
pub fn set_server_side_encryption( self, input: Option<ServerSideEncryption> ) -> Self
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
sourcepub fn get_server_side_encryption(&self) -> &Option<ServerSideEncryption>
pub fn get_server_side_encryption(&self) -> &Option<ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
sourcepub fn sse_customer_algorithm(self, input: impl Into<String>) -> Self
pub fn sse_customer_algorithm(self, input: impl Into<String>) -> Self
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sourcepub fn set_sse_customer_algorithm(self, input: Option<String>) -> Self
pub fn set_sse_customer_algorithm(self, input: Option<String>) -> Self
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sourcepub fn get_sse_customer_algorithm(&self) -> &Option<String>
pub fn get_sse_customer_algorithm(&self) -> &Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sourcepub fn sse_customer_key_md5(self, input: impl Into<String>) -> Self
pub fn sse_customer_key_md5(self, input: impl Into<String>) -> Self
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
sourcepub fn set_sse_customer_key_md5(self, input: Option<String>) -> Self
pub fn set_sse_customer_key_md5(self, input: Option<String>) -> Self
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
sourcepub fn get_sse_customer_key_md5(&self) -> &Option<String>
pub fn get_sse_customer_key_md5(&self) -> &Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
sourcepub fn ssekms_key_id(self, input: impl Into<String>) -> Self
pub fn ssekms_key_id(self, input: impl Into<String>) -> Self
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
sourcepub fn set_ssekms_key_id(self, input: Option<String>) -> Self
pub fn set_ssekms_key_id(self, input: Option<String>) -> Self
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
sourcepub fn get_ssekms_key_id(&self) -> &Option<String>
pub fn get_ssekms_key_id(&self) -> &Option<String>
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
sourcepub fn bucket_key_enabled(self, input: bool) -> Self
pub fn bucket_key_enabled(self, input: bool) -> Self
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
sourcepub fn set_bucket_key_enabled(self, input: Option<bool>) -> Self
pub fn set_bucket_key_enabled(self, input: Option<bool>) -> Self
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
sourcepub fn get_bucket_key_enabled(&self) -> &Option<bool>
pub fn get_bucket_key_enabled(&self) -> &Option<bool>
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
sourcepub fn request_charged(self, input: RequestCharged) -> Self
pub fn request_charged(self, input: RequestCharged) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
pub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn get_request_charged(&self) -> &Option<RequestCharged>
pub fn get_request_charged(&self) -> &Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
sourcepub fn build(self) -> UploadPartCopyOutput
pub fn build(self) -> UploadPartCopyOutput
Consumes the builder and constructs a UploadPartCopyOutput
.
Trait Implementations§
source§impl Clone for UploadPartCopyOutputBuilder
impl Clone for UploadPartCopyOutputBuilder
source§fn clone(&self) -> UploadPartCopyOutputBuilder
fn clone(&self) -> UploadPartCopyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UploadPartCopyOutputBuilder
impl Debug for UploadPartCopyOutputBuilder
source§impl Default for UploadPartCopyOutputBuilder
impl Default for UploadPartCopyOutputBuilder
source§fn default() -> UploadPartCopyOutputBuilder
fn default() -> UploadPartCopyOutputBuilder
source§impl PartialEq for UploadPartCopyOutputBuilder
impl PartialEq for UploadPartCopyOutputBuilder
source§fn eq(&self, other: &UploadPartCopyOutputBuilder) -> bool
fn eq(&self, other: &UploadPartCopyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.