Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::complete_multipart_upload::builders::CompleteMultipartUploadInputBuilder
pub struct CompleteMultipartUploadInputBuilder { /* private fields */ }
Expand description
A builder for CompleteMultipartUploadInput
.
Implementations§
§impl CompleteMultipartUploadInputBuilder
impl CompleteMultipartUploadInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
pub fn set_bucket(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
pub fn key(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn key( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
Object key for which the multipart upload was initiated.
pub fn set_key(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_key( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
Object key for which the multipart upload was initiated.
pub fn multipart_upload(
self,
input: CompletedMultipartUpload
) -> CompleteMultipartUploadInputBuilder
pub fn multipart_upload( self, input: CompletedMultipartUpload ) -> CompleteMultipartUploadInputBuilder
The container for the multipart upload request information.
pub fn set_multipart_upload(
self,
input: Option<CompletedMultipartUpload>
) -> CompleteMultipartUploadInputBuilder
pub fn set_multipart_upload( self, input: Option<CompletedMultipartUpload> ) -> CompleteMultipartUploadInputBuilder
The container for the multipart upload request information.
pub fn get_multipart_upload(&self) -> &Option<CompletedMultipartUpload>
pub fn get_multipart_upload(&self) -> &Option<CompletedMultipartUpload>
The container for the multipart upload request information.
pub fn upload_id(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn upload_id( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
ID for the initiated multipart upload.
pub fn set_upload_id(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_upload_id( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
ID for the initiated multipart upload.
pub fn get_upload_id(&self) -> &Option<String>
pub fn get_upload_id(&self) -> &Option<String>
ID for the initiated multipart upload.
pub fn checksum_crc32(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn checksum_crc32( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_crc32(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_checksum_crc32( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn get_checksum_crc32(&self) -> &Option<String>
pub fn get_checksum_crc32(&self) -> &Option<String>
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_crc32_c(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn checksum_crc32_c( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_crc32_c(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_checksum_crc32_c( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn get_checksum_crc32_c(&self) -> &Option<String>
pub fn get_checksum_crc32_c(&self) -> &Option<String>
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha1(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn checksum_sha1( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_sha1(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_checksum_sha1( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn get_checksum_sha1(&self) -> &Option<String>
pub fn get_checksum_sha1(&self) -> &Option<String>
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha256(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn checksum_sha256( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_sha256(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_checksum_sha256( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn get_checksum_sha256(&self) -> &Option<String>
pub fn get_checksum_sha256(&self) -> &Option<String>
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
pub fn request_payer(
self,
input: RequestPayer
) -> CompleteMultipartUploadInputBuilder
pub fn request_payer( self, input: RequestPayer ) -> CompleteMultipartUploadInputBuilder
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn set_request_payer(
self,
input: Option<RequestPayer>
) -> CompleteMultipartUploadInputBuilder
pub fn set_request_payer( self, input: Option<RequestPayer> ) -> CompleteMultipartUploadInputBuilder
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn get_request_payer(&self) -> &Option<RequestPayer>
pub fn get_request_payer(&self) -> &Option<RequestPayer>
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn set_expected_bucket_owner(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn sse_customer_algorithm(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn sse_customer_algorithm( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn set_sse_customer_algorithm(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_sse_customer_algorithm( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn get_sse_customer_algorithm(&self) -> &Option<String>
pub fn get_sse_customer_algorithm(&self) -> &Option<String>
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn sse_customer_key(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn sse_customer_key( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn set_sse_customer_key(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_sse_customer_key( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn get_sse_customer_key(&self) -> &Option<String>
pub fn get_sse_customer_key(&self) -> &Option<String>
The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn sse_customer_key_md5(
self,
input: impl Into<String>
) -> CompleteMultipartUploadInputBuilder
pub fn sse_customer_key_md5( self, input: impl Into<String> ) -> CompleteMultipartUploadInputBuilder
The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn set_sse_customer_key_md5(
self,
input: Option<String>
) -> CompleteMultipartUploadInputBuilder
pub fn set_sse_customer_key_md5( self, input: Option<String> ) -> CompleteMultipartUploadInputBuilder
The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn get_sse_customer_key_md5(&self) -> &Option<String>
pub fn get_sse_customer_key_md5(&self) -> &Option<String>
The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
pub fn build(self) -> Result<CompleteMultipartUploadInput, BuildError>
pub fn build(self) -> Result<CompleteMultipartUploadInput, BuildError>
Consumes the builder and constructs a CompleteMultipartUploadInput
.
§impl CompleteMultipartUploadInputBuilder
impl CompleteMultipartUploadInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<CompleteMultipartUploadOutput, SdkError<CompleteMultipartUploadError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<CompleteMultipartUploadOutput, SdkError<CompleteMultipartUploadError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for CompleteMultipartUploadInputBuilder
impl Clone for CompleteMultipartUploadInputBuilder
§fn clone(&self) -> CompleteMultipartUploadInputBuilder
fn clone(&self) -> CompleteMultipartUploadInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for CompleteMultipartUploadInputBuilder
impl Default for CompleteMultipartUploadInputBuilder
§fn default() -> CompleteMultipartUploadInputBuilder
fn default() -> CompleteMultipartUploadInputBuilder
§impl PartialEq<CompleteMultipartUploadInputBuilder> for CompleteMultipartUploadInputBuilder
impl PartialEq<CompleteMultipartUploadInputBuilder> for CompleteMultipartUploadInputBuilder
§fn eq(&self, other: &CompleteMultipartUploadInputBuilder) -> bool
fn eq(&self, other: &CompleteMultipartUploadInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.