Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::CopyObjectResultBuilder
pub struct CopyObjectResultBuilder { /* private fields */ }
Expand description
A builder for CopyObjectResult
.
Implementations§
§impl CopyObjectResultBuilder
impl CopyObjectResultBuilder
pub fn e_tag(self, input: impl Into<String>) -> CopyObjectResultBuilder
pub fn e_tag(self, input: impl Into<String>) -> CopyObjectResultBuilder
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
pub fn set_e_tag(self, input: Option<String>) -> CopyObjectResultBuilder
pub fn set_e_tag(self, input: Option<String>) -> CopyObjectResultBuilder
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
pub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
pub fn last_modified(self, input: DateTime) -> CopyObjectResultBuilder
pub fn last_modified(self, input: DateTime) -> CopyObjectResultBuilder
Creation date of the object.
pub fn set_last_modified(
self,
input: Option<DateTime>
) -> CopyObjectResultBuilder
pub fn set_last_modified( self, input: Option<DateTime> ) -> CopyObjectResultBuilder
Creation date of the object.
pub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
Creation date of the object.
pub fn checksum_crc32(self, input: impl Into<String>) -> CopyObjectResultBuilder
pub fn checksum_crc32(self, input: impl Into<String>) -> CopyObjectResultBuilder
The base64-encoded, 32-bit CRC32 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(
self,
input: Option<String>
) -> CopyObjectResultBuilder
pub fn set_checksum_crc32( self, input: Option<String> ) -> CopyObjectResultBuilder
The base64-encoded, 32-bit CRC32 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(&self) -> &Option<String>
pub fn get_checksum_crc32(&self) -> &Option<String>
The base64-encoded, 32-bit CRC32 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_crc32_c(
self,
input: impl Into<String>
) -> CopyObjectResultBuilder
pub fn checksum_crc32_c( self, input: impl Into<String> ) -> CopyObjectResultBuilder
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>
) -> CopyObjectResultBuilder
pub fn set_checksum_crc32_c( self, input: Option<String> ) -> CopyObjectResultBuilder
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>) -> CopyObjectResultBuilder
pub fn checksum_sha1(self, input: impl Into<String>) -> CopyObjectResultBuilder
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>) -> CopyObjectResultBuilder
pub fn set_checksum_sha1(self, input: Option<String>) -> CopyObjectResultBuilder
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>
) -> CopyObjectResultBuilder
pub fn checksum_sha256( self, input: impl Into<String> ) -> CopyObjectResultBuilder
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>
) -> CopyObjectResultBuilder
pub fn set_checksum_sha256( self, input: Option<String> ) -> CopyObjectResultBuilder
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) -> CopyObjectResult
pub fn build(self) -> CopyObjectResult
Consumes the builder and constructs a CopyObjectResult
.
Trait Implementations§
§impl Clone for CopyObjectResultBuilder
impl Clone for CopyObjectResultBuilder
§fn clone(&self) -> CopyObjectResultBuilder
fn clone(&self) -> CopyObjectResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for CopyObjectResultBuilder
impl Debug for CopyObjectResultBuilder
§impl Default for CopyObjectResultBuilder
impl Default for CopyObjectResultBuilder
§fn default() -> CopyObjectResultBuilder
fn default() -> CopyObjectResultBuilder
§impl PartialEq<CopyObjectResultBuilder> for CopyObjectResultBuilder
impl PartialEq<CopyObjectResultBuilder> for CopyObjectResultBuilder
§fn eq(&self, other: &CopyObjectResultBuilder) -> bool
fn eq(&self, other: &CopyObjectResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.