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