Struct aws_sdk_s3::model::lifecycle_rule_and_operator::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LifecycleRuleAndOperator
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
Prefix identifying one or more objects to which the rule applies.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
Prefix identifying one or more objects to which the rule applies.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
All of these tags must exist in the object's tag set in order for the rule to apply.
All of these tags must exist in the object's tag set in order for the rule to apply.
sourcepub fn object_size_greater_than(self, input: i64) -> Self
pub fn object_size_greater_than(self, input: i64) -> Self
Minimum object size to which the rule applies.
sourcepub fn set_object_size_greater_than(self, input: Option<i64>) -> Self
pub fn set_object_size_greater_than(self, input: Option<i64>) -> Self
Minimum object size to which the rule applies.
sourcepub fn object_size_less_than(self, input: i64) -> Self
pub fn object_size_less_than(self, input: i64) -> Self
Maximum object size to which the rule applies.
sourcepub fn set_object_size_less_than(self, input: Option<i64>) -> Self
pub fn set_object_size_less_than(self, input: Option<i64>) -> Self
Maximum object size to which the rule applies.
sourcepub fn build(self) -> LifecycleRuleAndOperator
pub fn build(self) -> LifecycleRuleAndOperator
Consumes the builder and constructs a LifecycleRuleAndOperator
.