Struct aws_sdk_securityhub::types::builders::AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
source · #[non_exhaustive]pub struct AwsS3BucketObjectLockConfigurationRuleDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketObjectLockConfigurationRuleDetails
.
Implementations§
source§impl AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
sourcepub fn default_retention(
self,
input: AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails
) -> Self
pub fn default_retention( self, input: AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails ) -> Self
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
sourcepub fn set_default_retention(
self,
input: Option<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
) -> Self
pub fn set_default_retention( self, input: Option<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails> ) -> Self
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
sourcepub fn get_default_retention(
&self
) -> &Option<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
pub fn get_default_retention( &self ) -> &Option<AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails>
The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
sourcepub fn build(self) -> AwsS3BucketObjectLockConfigurationRuleDetails
pub fn build(self) -> AwsS3BucketObjectLockConfigurationRuleDetails
Consumes the builder and constructs a AwsS3BucketObjectLockConfigurationRuleDetails
.
Trait Implementations§
source§impl Clone for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl Clone for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
source§fn clone(&self) -> AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
fn clone(&self) -> AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl Default for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
source§fn default() -> AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
fn default() -> AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl PartialEq for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
source§fn eq(
&self,
other: &AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
) -> bool
fn eq( &self, other: &AwsS3BucketObjectLockConfigurationRuleDetailsBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl Send for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl Sync for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl Unpin for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
impl UnwindSafe for AwsS3BucketObjectLockConfigurationRuleDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.