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 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<GetBucketLifecycleConfigurationOutputBuilder> for GetBucketLifecycleConfigurationOutputBuilder
impl PartialEq<GetBucketLifecycleConfigurationOutputBuilder> for GetBucketLifecycleConfigurationOutputBuilder
source§fn eq(&self, other: &GetBucketLifecycleConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketLifecycleConfigurationOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.