Struct aws_sdk_s3::operation::get_bucket_lifecycle_configuration::builders::GetBucketLifecycleConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetBucketLifecycleConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketLifecycleConfigurationOutput
.
Implementations§
source§impl GetBucketLifecycleConfigurationOutputBuilder
impl GetBucketLifecycleConfigurationOutputBuilder
sourcepub fn rules(self, input: LifecycleRule) -> Self
pub fn rules(self, input: LifecycleRule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
Container for a lifecycle rule.
sourcepub fn set_rules(self, input: Option<Vec<LifecycleRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<LifecycleRule>>) -> Self
Container for a lifecycle rule.
sourcepub fn get_rules(&self) -> &Option<Vec<LifecycleRule>>
pub fn get_rules(&self) -> &Option<Vec<LifecycleRule>>
Container for a lifecycle rule.
sourcepub fn build(self) -> GetBucketLifecycleConfigurationOutput
pub fn build(self) -> GetBucketLifecycleConfigurationOutput
Consumes the builder and constructs a GetBucketLifecycleConfigurationOutput
.
Trait Implementations§
source§impl Clone for GetBucketLifecycleConfigurationOutputBuilder
impl Clone for GetBucketLifecycleConfigurationOutputBuilder
source§fn clone(&self) -> GetBucketLifecycleConfigurationOutputBuilder
fn clone(&self) -> GetBucketLifecycleConfigurationOutputBuilder
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 GetBucketLifecycleConfigurationOutputBuilder
impl Default for GetBucketLifecycleConfigurationOutputBuilder
source§fn default() -> GetBucketLifecycleConfigurationOutputBuilder
fn default() -> GetBucketLifecycleConfigurationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketLifecycleConfigurationOutputBuilder
impl PartialEq for GetBucketLifecycleConfigurationOutputBuilder
source§fn eq(&self, other: &GetBucketLifecycleConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketLifecycleConfigurationOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketLifecycleConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketLifecycleConfigurationOutputBuilder
impl RefUnwindSafe for GetBucketLifecycleConfigurationOutputBuilder
impl Send for GetBucketLifecycleConfigurationOutputBuilder
impl Sync for GetBucketLifecycleConfigurationOutputBuilder
impl Unpin for GetBucketLifecycleConfigurationOutputBuilder
impl UnwindSafe for GetBucketLifecycleConfigurationOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.