pub struct PutBucketReplicationInputBuilder { /* private fields */ }Expand description
A builder for PutBucketReplicationInput
Implementations§
Source§impl PutBucketReplicationInputBuilder
impl PutBucketReplicationInputBuilder
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_replication_configuration( &mut self, field: ReplicationConfiguration, ) -> &mut Self
pub fn set_token(&mut self, field: Option<ObjectLockToken>) -> &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 replication_configuration(self, field: ReplicationConfiguration) -> Self
pub fn token(self, field: Option<ObjectLockToken>) -> Self
pub fn build(self) -> Result<PutBucketReplicationInput, BuildError>
Trait Implementations§
Source§impl Default for PutBucketReplicationInputBuilder
impl Default for PutBucketReplicationInputBuilder
Source§fn default() -> PutBucketReplicationInputBuilder
fn default() -> PutBucketReplicationInputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutBucketReplicationInputBuilder
impl RefUnwindSafe for PutBucketReplicationInputBuilder
impl Send for PutBucketReplicationInputBuilder
impl Sync for PutBucketReplicationInputBuilder
impl Unpin for PutBucketReplicationInputBuilder
impl UnsafeUnpin for PutBucketReplicationInputBuilder
impl UnwindSafe for PutBucketReplicationInputBuilder
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