Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::LifecycleRuleAndOperatorBuilder
pub struct LifecycleRuleAndOperatorBuilder { /* private fields */ }
Expand description
A builder for LifecycleRuleAndOperator
.
Implementations§
§impl LifecycleRuleAndOperatorBuilder
impl LifecycleRuleAndOperatorBuilder
pub fn prefix(self, input: impl Into<String>) -> LifecycleRuleAndOperatorBuilder
pub fn prefix(self, input: impl Into<String>) -> LifecycleRuleAndOperatorBuilder
Prefix identifying one or more objects to which the rule applies.
pub fn set_prefix(
self,
input: Option<String>
) -> LifecycleRuleAndOperatorBuilder
pub fn set_prefix( self, input: Option<String> ) -> LifecycleRuleAndOperatorBuilder
Prefix identifying one or more objects to which the rule applies.
pub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
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.
All of these tags must exist in the object's tag set in order for the rule to apply.
pub fn object_size_greater_than(
self,
input: i64
) -> LifecycleRuleAndOperatorBuilder
pub fn object_size_greater_than( self, input: i64 ) -> LifecycleRuleAndOperatorBuilder
Minimum object size to which the rule applies.
pub fn set_object_size_greater_than(
self,
input: Option<i64>
) -> LifecycleRuleAndOperatorBuilder
pub fn set_object_size_greater_than( self, input: Option<i64> ) -> LifecycleRuleAndOperatorBuilder
Minimum object size to which the rule applies.
pub fn get_object_size_greater_than(&self) -> &Option<i64>
pub fn get_object_size_greater_than(&self) -> &Option<i64>
Minimum object size to which the rule applies.
pub fn object_size_less_than(
self,
input: i64
) -> LifecycleRuleAndOperatorBuilder
pub fn object_size_less_than( self, input: i64 ) -> LifecycleRuleAndOperatorBuilder
Maximum object size to which the rule applies.
pub fn set_object_size_less_than(
self,
input: Option<i64>
) -> LifecycleRuleAndOperatorBuilder
pub fn set_object_size_less_than( self, input: Option<i64> ) -> LifecycleRuleAndOperatorBuilder
Maximum object size to which the rule applies.
pub fn get_object_size_less_than(&self) -> &Option<i64>
pub fn get_object_size_less_than(&self) -> &Option<i64>
Maximum object size to which the rule applies.
pub fn build(self) -> LifecycleRuleAndOperator
pub fn build(self) -> LifecycleRuleAndOperator
Consumes the builder and constructs a LifecycleRuleAndOperator
.
Trait Implementations§
§impl Clone for LifecycleRuleAndOperatorBuilder
impl Clone for LifecycleRuleAndOperatorBuilder
§fn clone(&self) -> LifecycleRuleAndOperatorBuilder
fn clone(&self) -> LifecycleRuleAndOperatorBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for LifecycleRuleAndOperatorBuilder
impl Debug for LifecycleRuleAndOperatorBuilder
§impl Default for LifecycleRuleAndOperatorBuilder
impl Default for LifecycleRuleAndOperatorBuilder
§fn default() -> LifecycleRuleAndOperatorBuilder
fn default() -> LifecycleRuleAndOperatorBuilder
§impl PartialEq<LifecycleRuleAndOperatorBuilder> for LifecycleRuleAndOperatorBuilder
impl PartialEq<LifecycleRuleAndOperatorBuilder> for LifecycleRuleAndOperatorBuilder
§fn eq(&self, other: &LifecycleRuleAndOperatorBuilder) -> bool
fn eq(&self, other: &LifecycleRuleAndOperatorBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.