Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::PartBuilder
pub struct PartBuilder { /* private fields */ }
Expand description
A builder for Part
.
Implementations§
§impl PartBuilder
impl PartBuilder
pub fn part_number(self, input: i32) -> PartBuilder
pub fn part_number(self, input: i32) -> PartBuilder
Part number identifying the part. This is a positive integer between 1 and 10,000.
pub fn set_part_number(self, input: Option<i32>) -> PartBuilder
pub fn set_part_number(self, input: Option<i32>) -> PartBuilder
Part number identifying the part. This is a positive integer between 1 and 10,000.
pub fn get_part_number(&self) -> &Option<i32>
pub fn get_part_number(&self) -> &Option<i32>
Part number identifying the part. This is a positive integer between 1 and 10,000.
pub fn last_modified(self, input: DateTime) -> PartBuilder
pub fn last_modified(self, input: DateTime) -> PartBuilder
Date and time at which the part was uploaded.
pub fn set_last_modified(self, input: Option<DateTime>) -> PartBuilder
pub fn set_last_modified(self, input: Option<DateTime>) -> PartBuilder
Date and time at which the part was uploaded.
pub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
Date and time at which the part was uploaded.
pub fn e_tag(self, input: impl Into<String>) -> PartBuilder
pub fn e_tag(self, input: impl Into<String>) -> PartBuilder
Entity tag returned when the part was uploaded.
pub fn set_e_tag(self, input: Option<String>) -> PartBuilder
pub fn set_e_tag(self, input: Option<String>) -> PartBuilder
Entity tag returned when the part was uploaded.
pub fn size(self, input: i64) -> PartBuilder
pub fn size(self, input: i64) -> PartBuilder
Size in bytes of the uploaded part data.
pub fn set_size(self, input: Option<i64>) -> PartBuilder
pub fn set_size(self, input: Option<i64>) -> PartBuilder
Size in bytes of the uploaded part data.
pub fn checksum_crc32(self, input: impl Into<String>) -> PartBuilder
pub fn checksum_crc32(self, input: impl Into<String>) -> PartBuilder
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>) -> PartBuilder
pub fn set_checksum_crc32(self, input: Option<String>) -> PartBuilder
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>) -> PartBuilder
pub fn checksum_crc32_c(self, input: impl Into<String>) -> PartBuilder
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_crc32_c(self, input: Option<String>) -> PartBuilder
pub fn set_checksum_crc32_c(self, input: Option<String>) -> PartBuilder
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, 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>
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha1(self, input: impl Into<String>) -> PartBuilder
pub fn checksum_sha1(self, input: impl Into<String>) -> PartBuilder
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn set_checksum_sha1(self, input: Option<String>) -> PartBuilder
pub fn set_checksum_sha1(self, input: Option<String>) -> PartBuilder
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, 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>
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha256(self, input: impl Into<String>) -> PartBuilder
pub fn checksum_sha256(self, input: impl Into<String>) -> PartBuilder
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>) -> PartBuilder
pub fn set_checksum_sha256(self, input: Option<String>) -> PartBuilder
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.
Trait Implementations§
§impl Clone for PartBuilder
impl Clone for PartBuilder
§fn clone(&self) -> PartBuilder
fn clone(&self) -> PartBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for PartBuilder
impl Debug for PartBuilder
§impl Default for PartBuilder
impl Default for PartBuilder
§fn default() -> PartBuilder
fn default() -> PartBuilder
§impl PartialEq<PartBuilder> for PartBuilder
impl PartialEq<PartBuilder> for PartBuilder
§fn eq(&self, other: &PartBuilder) -> bool
fn eq(&self, other: &PartBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.