#[non_exhaustive]pub struct LifecycleRuleAndOperatorBuilder { /* private fields */ }
Expand description
A builder for LifecycleRuleAndOperator
.
Implementations§
source§impl LifecycleRuleAndOperatorBuilder
impl LifecycleRuleAndOperatorBuilder
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.
sourcepub 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.
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 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.
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 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.
sourcepub fn build(self) -> LifecycleRuleAndOperator
pub fn build(self) -> LifecycleRuleAndOperator
Consumes the builder and constructs a LifecycleRuleAndOperator
.
Trait Implementations§
source§impl Clone for LifecycleRuleAndOperatorBuilder
impl Clone for LifecycleRuleAndOperatorBuilder
source§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 moresource§impl Default for LifecycleRuleAndOperatorBuilder
impl Default for LifecycleRuleAndOperatorBuilder
source§fn default() -> LifecycleRuleAndOperatorBuilder
fn default() -> LifecycleRuleAndOperatorBuilder
source§impl PartialEq for LifecycleRuleAndOperatorBuilder
impl PartialEq for LifecycleRuleAndOperatorBuilder
source§fn eq(&self, other: &LifecycleRuleAndOperatorBuilder) -> bool
fn eq(&self, other: &LifecycleRuleAndOperatorBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LifecycleRuleAndOperatorBuilder
Auto Trait Implementations§
impl Freeze for LifecycleRuleAndOperatorBuilder
impl RefUnwindSafe for LifecycleRuleAndOperatorBuilder
impl Send for LifecycleRuleAndOperatorBuilder
impl Sync for LifecycleRuleAndOperatorBuilder
impl Unpin for LifecycleRuleAndOperatorBuilder
impl UnwindSafe for LifecycleRuleAndOperatorBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more