Struct aws_sdk_s3::types::IntelligentTieringFilter
source · #[non_exhaustive]pub struct IntelligentTieringFilter {
pub prefix: Option<String>,
pub tag: Option<Tag>,
pub and: Option<IntelligentTieringAndOperator>,
}
Expand description
The Filter
is used to identify objects that the S3 Intelligent-Tiering configuration applies to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prefix: Option<String>
An object key name prefix that identifies the subset of 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.
tag: Option<Tag>
A container of a key value name pair.
and: Option<IntelligentTieringAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
Implementations§
source§impl IntelligentTieringFilter
impl IntelligentTieringFilter
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
An object key name prefix that identifies the subset of 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<&IntelligentTieringAndOperator>
pub fn and(&self) -> Option<&IntelligentTieringAndOperator>
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply.
source§impl IntelligentTieringFilter
impl IntelligentTieringFilter
sourcepub fn builder() -> IntelligentTieringFilterBuilder
pub fn builder() -> IntelligentTieringFilterBuilder
Creates a new builder-style object to manufacture IntelligentTieringFilter
.
Trait Implementations§
source§impl Clone for IntelligentTieringFilter
impl Clone for IntelligentTieringFilter
source§fn clone(&self) -> IntelligentTieringFilter
fn clone(&self) -> IntelligentTieringFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IntelligentTieringFilter
impl Debug for IntelligentTieringFilter
source§impl PartialEq for IntelligentTieringFilter
impl PartialEq for IntelligentTieringFilter
source§fn eq(&self, other: &IntelligentTieringFilter) -> bool
fn eq(&self, other: &IntelligentTieringFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IntelligentTieringFilter
Auto Trait Implementations§
impl Freeze for IntelligentTieringFilter
impl RefUnwindSafe for IntelligentTieringFilter
impl Send for IntelligentTieringFilter
impl Sync for IntelligentTieringFilter
impl Unpin for IntelligentTieringFilter
impl UnwindSafe for IntelligentTieringFilter
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> 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