Struct aws_sdk_s3control::model::LifecycleRuleFilter
source · #[non_exhaustive]pub struct LifecycleRuleFilter { /* private fields */ }Expand description
The container for the filter of the lifecycle rule.
Implementations§
source§impl LifecycleRuleFilter
impl LifecycleRuleFilter
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
Prefix identifying one or more objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
sourcepub fn and(&self) -> Option<&LifecycleRuleAndOperator>
pub fn and(&self) -> Option<&LifecycleRuleAndOperator>
The container for the AND condition for the lifecycle rule.
sourcepub fn object_size_greater_than(&self) -> Option<i64>
pub fn object_size_greater_than(&self) -> Option<i64>
Minimum object size to which the rule applies.
sourcepub fn object_size_less_than(&self) -> Option<i64>
pub fn object_size_less_than(&self) -> Option<i64>
Maximum object size to which the rule applies.
source§impl LifecycleRuleFilter
impl LifecycleRuleFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LifecycleRuleFilter.
Trait Implementations§
source§impl Clone for LifecycleRuleFilter
impl Clone for LifecycleRuleFilter
source§fn clone(&self) -> LifecycleRuleFilter
fn clone(&self) -> LifecycleRuleFilter
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 Debug for LifecycleRuleFilter
impl Debug for LifecycleRuleFilter
source§impl PartialEq<LifecycleRuleFilter> for LifecycleRuleFilter
impl PartialEq<LifecycleRuleFilter> for LifecycleRuleFilter
source§fn eq(&self, other: &LifecycleRuleFilter) -> bool
fn eq(&self, other: &LifecycleRuleFilter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.