pub struct PutBucketVersioningInputBuilder { /* private fields */ }Expand description
A builder for PutBucketVersioningInput
Implementations§
Source§impl PutBucketVersioningInputBuilder
impl PutBucketVersioningInputBuilder
pub fn set_bucket(&mut self, field: BucketName) -> &mut Self
pub fn set_checksum_algorithm( &mut self, field: Option<ChecksumAlgorithm>, ) -> &mut Self
pub fn set_content_md5(&mut self, field: Option<ContentMD5>) -> &mut Self
pub fn set_expected_bucket_owner( &mut self, field: Option<AccountId>, ) -> &mut Self
pub fn set_mfa(&mut self, field: Option<MFA>) -> &mut Self
pub fn set_versioning_configuration( &mut self, field: VersioningConfiguration, ) -> &mut Self
pub fn bucket(self, field: BucketName) -> Self
pub fn checksum_algorithm(self, field: Option<ChecksumAlgorithm>) -> Self
pub fn content_md5(self, field: Option<ContentMD5>) -> Self
pub fn expected_bucket_owner(self, field: Option<AccountId>) -> Self
pub fn mfa(self, field: Option<MFA>) -> Self
pub fn versioning_configuration(self, field: VersioningConfiguration) -> Self
pub fn build(self) -> Result<PutBucketVersioningInput, BuildError>
Trait Implementations§
Source§impl Default for PutBucketVersioningInputBuilder
impl Default for PutBucketVersioningInputBuilder
Source§fn default() -> PutBucketVersioningInputBuilder
fn default() -> PutBucketVersioningInputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutBucketVersioningInputBuilder
impl RefUnwindSafe for PutBucketVersioningInputBuilder
impl Send for PutBucketVersioningInputBuilder
impl Sync for PutBucketVersioningInputBuilder
impl Unpin for PutBucketVersioningInputBuilder
impl UnsafeUnpin for PutBucketVersioningInputBuilder
impl UnwindSafe for PutBucketVersioningInputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more