#[non_exhaustive]pub struct CreateMultipartUploadOutputBuilder { /* private fields */ }
Expand description
A builder for CreateMultipartUploadOutput
.
Implementations§
Source§impl CreateMultipartUploadOutputBuilder
impl CreateMultipartUploadOutputBuilder
Sourcepub fn abort_date(self, input: DateTime) -> CreateMultipartUploadOutputBuilder
pub fn abort_date(self, input: DateTime) -> CreateMultipartUploadOutputBuilder
If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.
The response also includes the x-amz-abort-rule-id
header that provides the ID of the lifecycle configuration rule that defines the abort action.
This functionality is not supported for directory buckets.
Sourcepub fn set_abort_date(
self,
input: Option<DateTime>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_abort_date( self, input: Option<DateTime>, ) -> CreateMultipartUploadOutputBuilder
If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.
The response also includes the x-amz-abort-rule-id
header that provides the ID of the lifecycle configuration rule that defines the abort action.
This functionality is not supported for directory buckets.
Sourcepub fn get_abort_date(&self) -> &Option<DateTime>
pub fn get_abort_date(&self) -> &Option<DateTime>
If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.
The response also includes the x-amz-abort-rule-id
header that provides the ID of the lifecycle configuration rule that defines the abort action.
This functionality is not supported for directory buckets.
Sourcepub fn abort_rule_id(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn abort_rule_id( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
This header is returned along with the x-amz-abort-date
header. It identifies the applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.
This functionality is not supported for directory buckets.
Sourcepub fn set_abort_rule_id(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_abort_rule_id( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
This header is returned along with the x-amz-abort-date
header. It identifies the applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.
This functionality is not supported for directory buckets.
Sourcepub fn get_abort_rule_id(&self) -> &Option<String>
pub fn get_abort_rule_id(&self) -> &Option<String>
This header is returned along with the x-amz-abort-date
header. It identifies the applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.
This functionality is not supported for directory buckets.
Sourcepub fn bucket(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn bucket( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
Access points are not supported by directory buckets.
Sourcepub fn set_bucket(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_bucket( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
Access points are not supported by directory buckets.
Sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
Access points are not supported by directory buckets.
Sourcepub fn key(self, input: impl Into<String>) -> CreateMultipartUploadOutputBuilder
pub fn key(self, input: impl Into<String>) -> CreateMultipartUploadOutputBuilder
Object key for which the multipart upload was initiated.
Sourcepub fn set_key(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_key( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
Object key for which the multipart upload was initiated.
Sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
Object key for which the multipart upload was initiated.
Sourcepub fn upload_id(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn upload_id( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
ID for the initiated multipart upload.
Sourcepub fn set_upload_id(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_upload_id( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
ID for the initiated multipart upload.
Sourcepub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
ID for the initiated multipart upload.
Sourcepub fn server_side_encryption(
self,
input: ServerSideEncryption,
) -> CreateMultipartUploadOutputBuilder
pub fn server_side_encryption( self, input: ServerSideEncryption, ) -> CreateMultipartUploadOutputBuilder
The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.
When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx
.
Sourcepub fn set_server_side_encryption(
self,
input: Option<ServerSideEncryption>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_server_side_encryption( self, input: Option<ServerSideEncryption>, ) -> CreateMultipartUploadOutputBuilder
The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.
When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx
.
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 you store this object in Amazon S3 or Amazon FSx.
When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx
.
Sourcepub fn sse_customer_algorithm(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn sse_customer_algorithm( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.
This functionality is not supported for directory buckets.
Sourcepub fn set_sse_customer_algorithm(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_sse_customer_algorithm( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.
This functionality is not supported for directory buckets.
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 to confirm the encryption algorithm that's used.
This functionality is not supported for directory buckets.
Sourcepub fn sse_customer_key_md5(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn sse_customer_key_md5( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.
This functionality is not supported for directory buckets.
Sourcepub fn set_sse_customer_key_md5(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_sse_customer_key_md5( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.
This functionality is not supported for directory buckets.
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 the round-trip message integrity verification of the customer-provided encryption key.
This functionality is not supported for directory buckets.
Sourcepub fn ssekms_key_id(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn ssekms_key_id( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
If present, indicates the ID of the KMS key that was used for object encryption.
Sourcepub fn set_ssekms_key_id(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_ssekms_key_id( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
If present, indicates the ID of the KMS key that was used for object encryption.
Sourcepub fn get_ssekms_key_id(&self) -> &Option<String>
pub fn get_ssekms_key_id(&self) -> &Option<String>
If present, indicates the ID of the KMS key that was used for object encryption.
Sourcepub fn ssekms_encryption_context(
self,
input: impl Into<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn ssekms_encryption_context( self, input: impl Into<String>, ) -> CreateMultipartUploadOutputBuilder
If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
Sourcepub fn set_ssekms_encryption_context(
self,
input: Option<String>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_ssekms_encryption_context( self, input: Option<String>, ) -> CreateMultipartUploadOutputBuilder
If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
Sourcepub fn get_ssekms_encryption_context(&self) -> &Option<String>
pub fn get_ssekms_encryption_context(&self) -> &Option<String>
If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
Sourcepub fn bucket_key_enabled(
self,
input: bool,
) -> CreateMultipartUploadOutputBuilder
pub fn bucket_key_enabled( self, input: bool, ) -> CreateMultipartUploadOutputBuilder
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>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_bucket_key_enabled( self, input: Option<bool>, ) -> CreateMultipartUploadOutputBuilder
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,
) -> CreateMultipartUploadOutputBuilder
pub fn request_charged( self, input: RequestCharged, ) -> CreateMultipartUploadOutputBuilder
If present, indicates that the requester was successfully charged for the request. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
This functionality is not supported for directory buckets.
Sourcepub fn set_request_charged(
self,
input: Option<RequestCharged>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_request_charged( self, input: Option<RequestCharged>, ) -> CreateMultipartUploadOutputBuilder
If present, indicates that the requester was successfully charged for the request. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
This functionality is not supported for directory buckets.
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. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
This functionality is not supported for directory buckets.
Sourcepub fn checksum_algorithm(
self,
input: ChecksumAlgorithm,
) -> CreateMultipartUploadOutputBuilder
pub fn checksum_algorithm( self, input: ChecksumAlgorithm, ) -> CreateMultipartUploadOutputBuilder
The algorithm that was used to create a checksum of the object.
Sourcepub fn set_checksum_algorithm(
self,
input: Option<ChecksumAlgorithm>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_checksum_algorithm( self, input: Option<ChecksumAlgorithm>, ) -> CreateMultipartUploadOutputBuilder
The algorithm that was used to create a checksum of the object.
Sourcepub fn get_checksum_algorithm(&self) -> &Option<ChecksumAlgorithm>
pub fn get_checksum_algorithm(&self) -> &Option<ChecksumAlgorithm>
The algorithm that was used to create a checksum of the object.
Sourcepub fn checksum_type(
self,
input: ChecksumType,
) -> CreateMultipartUploadOutputBuilder
pub fn checksum_type( self, input: ChecksumType, ) -> CreateMultipartUploadOutputBuilder
Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
Sourcepub fn set_checksum_type(
self,
input: Option<ChecksumType>,
) -> CreateMultipartUploadOutputBuilder
pub fn set_checksum_type( self, input: Option<ChecksumType>, ) -> CreateMultipartUploadOutputBuilder
Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
Sourcepub fn get_checksum_type(&self) -> &Option<ChecksumType>
pub fn get_checksum_type(&self) -> &Option<ChecksumType>
Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
Sourcepub fn build(self) -> CreateMultipartUploadOutput
pub fn build(self) -> CreateMultipartUploadOutput
Consumes the builder and constructs a CreateMultipartUploadOutput
.
Trait Implementations§
Source§impl Clone for CreateMultipartUploadOutputBuilder
impl Clone for CreateMultipartUploadOutputBuilder
Source§fn clone(&self) -> CreateMultipartUploadOutputBuilder
fn clone(&self) -> CreateMultipartUploadOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for CreateMultipartUploadOutputBuilder
impl Default for CreateMultipartUploadOutputBuilder
Source§fn default() -> CreateMultipartUploadOutputBuilder
fn default() -> CreateMultipartUploadOutputBuilder
Source§impl PartialEq for CreateMultipartUploadOutputBuilder
impl PartialEq for CreateMultipartUploadOutputBuilder
Source§fn eq(&self, other: &CreateMultipartUploadOutputBuilder) -> bool
fn eq(&self, other: &CreateMultipartUploadOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateMultipartUploadOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateMultipartUploadOutputBuilder
impl RefUnwindSafe for CreateMultipartUploadOutputBuilder
impl Send for CreateMultipartUploadOutputBuilder
impl Sync for CreateMultipartUploadOutputBuilder
impl Unpin for CreateMultipartUploadOutputBuilder
impl UnwindSafe for CreateMultipartUploadOutputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more