Struct aws_sdk_securityhub::types::builders::AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
source · #[non_exhaustive]pub struct AwsS3BucketBucketLifecycleConfigurationDetailsBuilder { /* private fields */ }Expand description
A builder for AwsS3BucketBucketLifecycleConfigurationDetails.
Implementations§
source§impl AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
sourcepub fn rules(
self,
input: AwsS3BucketBucketLifecycleConfigurationRulesDetails
) -> Self
pub fn rules( self, input: AwsS3BucketBucketLifecycleConfigurationRulesDetails ) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
The lifecycle rules.
sourcepub fn set_rules(
self,
input: Option<Vec<AwsS3BucketBucketLifecycleConfigurationRulesDetails>>
) -> Self
pub fn set_rules( self, input: Option<Vec<AwsS3BucketBucketLifecycleConfigurationRulesDetails>> ) -> Self
The lifecycle rules.
sourcepub fn get_rules(
&self
) -> &Option<Vec<AwsS3BucketBucketLifecycleConfigurationRulesDetails>>
pub fn get_rules( &self ) -> &Option<Vec<AwsS3BucketBucketLifecycleConfigurationRulesDetails>>
The lifecycle rules.
sourcepub fn build(self) -> AwsS3BucketBucketLifecycleConfigurationDetails
pub fn build(self) -> AwsS3BucketBucketLifecycleConfigurationDetails
Consumes the builder and constructs a AwsS3BucketBucketLifecycleConfigurationDetails.
Trait Implementations§
source§impl Clone for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl Clone for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
source§fn clone(&self) -> AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
fn clone(&self) -> AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
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 AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl Default for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
source§fn default() -> AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
fn default() -> AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl PartialEq for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
source§fn eq(
&self,
other: &AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
) -> bool
fn eq( &self, other: &AwsS3BucketBucketLifecycleConfigurationDetailsBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl Send for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl Sync for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl Unpin for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
impl UnwindSafe for AwsS3BucketBucketLifecycleConfigurationDetailsBuilder
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.