Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::ObjectPartBuilder
#[non_exhaustive]pub struct ObjectPartBuilder { /* private fields */ }
Expand description
A builder for ObjectPart
.
Implementations§
§impl ObjectPartBuilder
impl ObjectPartBuilder
pub fn part_number(self, input: i32) -> ObjectPartBuilder
pub fn part_number(self, input: i32) -> ObjectPartBuilder
The part number identifying the part. This value is a positive integer between 1 and 10,000.
pub fn set_part_number(self, input: Option<i32>) -> ObjectPartBuilder
pub fn set_part_number(self, input: Option<i32>) -> ObjectPartBuilder
The part number identifying the part. This value 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>
The part number identifying the part. This value is a positive integer between 1 and 10,000.
pub fn size(self, input: i64) -> ObjectPartBuilder
pub fn size(self, input: i64) -> ObjectPartBuilder
The size of the uploaded part in bytes.
pub fn set_size(self, input: Option<i64>) -> ObjectPartBuilder
pub fn set_size(self, input: Option<i64>) -> ObjectPartBuilder
The size of the uploaded part in bytes.
pub fn checksum_crc32(self, input: impl Into<String>) -> ObjectPartBuilder
pub fn checksum_crc32(self, input: impl Into<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn set_checksum_crc32(self, input: Option<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn checksum_crc32_c(self, input: impl Into<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn set_checksum_crc32_c(self, input: Option<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn checksum_sha1(self, input: impl Into<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn set_checksum_sha1(self, input: Option<String>) -> ObjectPartBuilder
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>) -> ObjectPartBuilder
pub fn checksum_sha256(self, input: impl Into<String>) -> ObjectPartBuilder
The base64-encoded, 256-bit SHA-256 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_sha256(self, input: Option<String>) -> ObjectPartBuilder
pub fn set_checksum_sha256(self, input: Option<String>) -> ObjectPartBuilder
The base64-encoded, 256-bit SHA-256 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_sha256(&self) -> &Option<String>
pub fn get_checksum_sha256(&self) -> &Option<String>
The base64-encoded, 256-bit SHA-256 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 build(self) -> ObjectPart
pub fn build(self) -> ObjectPart
Consumes the builder and constructs a ObjectPart
.
Trait Implementations§
§impl Clone for ObjectPartBuilder
impl Clone for ObjectPartBuilder
§fn clone(&self) -> ObjectPartBuilder
fn clone(&self) -> ObjectPartBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ObjectPartBuilder
impl Debug for ObjectPartBuilder
§impl Default for ObjectPartBuilder
impl Default for ObjectPartBuilder
§fn default() -> ObjectPartBuilder
fn default() -> ObjectPartBuilder
§impl PartialEq for ObjectPartBuilder
impl PartialEq for ObjectPartBuilder
§fn eq(&self, other: &ObjectPartBuilder) -> bool
fn eq(&self, other: &ObjectPartBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.