Struct aws_sdk_backupstorage::model::backup_object::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BackupObject
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn chunks_count(self, input: i64) -> Self
pub fn chunks_count(self, input: i64) -> Self
Number of chunks in object
sourcepub fn set_chunks_count(self, input: Option<i64>) -> Self
pub fn set_chunks_count(self, input: Option<i64>) -> Self
Number of chunks in object
sourcepub fn metadata_string(self, input: impl Into<String>) -> Self
pub fn metadata_string(self, input: impl Into<String>) -> Self
Metadata string associated with the Object
sourcepub fn set_metadata_string(self, input: Option<String>) -> Self
pub fn set_metadata_string(self, input: Option<String>) -> Self
Metadata string associated with the Object
sourcepub fn object_checksum(self, input: impl Into<String>) -> Self
pub fn object_checksum(self, input: impl Into<String>) -> Self
Object checksum
sourcepub fn set_object_checksum(self, input: Option<String>) -> Self
pub fn set_object_checksum(self, input: Option<String>) -> Self
Object checksum
sourcepub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
pub fn object_checksum_algorithm(self, input: SummaryChecksumAlgorithm) -> Self
Checksum algorithm
sourcepub fn set_object_checksum_algorithm(
self,
input: Option<SummaryChecksumAlgorithm>
) -> Self
pub fn set_object_checksum_algorithm(
self,
input: Option<SummaryChecksumAlgorithm>
) -> Self
Checksum algorithm
sourcepub fn object_token(self, input: impl Into<String>) -> Self
pub fn object_token(self, input: impl Into<String>) -> Self
Object token
sourcepub fn set_object_token(self, input: Option<String>) -> Self
pub fn set_object_token(self, input: Option<String>) -> Self
Object token
sourcepub fn build(self) -> BackupObject
pub fn build(self) -> BackupObject
Consumes the builder and constructs a BackupObject
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more