Struct aws_sdk_s3control::model::lifecycle_configuration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for LifecycleConfiguration.
Implementations§
source§impl Builder
impl Builder
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.
A lifecycle rule for individual objects in an Outposts bucket.
sourcepub fn set_rules(self, input: Option<Vec<LifecycleRule>>) -> Self
pub fn set_rules(self, input: Option<Vec<LifecycleRule>>) -> Self
A lifecycle rule for individual objects in an Outposts bucket.
sourcepub fn build(self) -> LifecycleConfiguration
pub fn build(self) -> LifecycleConfiguration
Consumes the builder and constructs a LifecycleConfiguration.