#[non_exhaustive]pub struct StorageLensGroupAndOperator {
pub match_any_prefix: Option<Vec<String>>,
pub match_any_suffix: Option<Vec<String>>,
pub match_any_tag: Option<Vec<S3Tag>>,
pub match_object_age: Option<MatchObjectAge>,
pub match_object_size: Option<MatchObjectSize>,
}
Expand description
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.
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.match_any_prefix: Option<Vec<String>>
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
match_any_suffix: Option<Vec<String>>
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
match_any_tag: Option<Vec<S3Tag>>
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
match_object_age: Option<MatchObjectAge>
Contains DaysGreaterThan
and DaysLessThan
to define the object age range (minimum and maximum number of days).
match_object_size: Option<MatchObjectSize>
Contains BytesGreaterThan
and BytesLessThan
to define the object size range (minimum and maximum number of Bytes).
Implementations§
source§impl StorageLensGroupAndOperator
impl StorageLensGroupAndOperator
sourcepub fn match_any_prefix(&self) -> &[String]
pub fn match_any_prefix(&self) -> &[String]
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .match_any_prefix.is_none()
.
sourcepub fn match_any_suffix(&self) -> &[String]
pub fn match_any_suffix(&self) -> &[String]
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .match_any_suffix.is_none()
.
sourcepub fn match_any_tag(&self) -> &[S3Tag]
pub fn match_any_tag(&self) -> &[S3Tag]
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .match_any_tag.is_none()
.
sourcepub fn match_object_age(&self) -> Option<&MatchObjectAge>
pub fn match_object_age(&self) -> Option<&MatchObjectAge>
Contains DaysGreaterThan
and DaysLessThan
to define the object age range (minimum and maximum number of days).
sourcepub fn match_object_size(&self) -> Option<&MatchObjectSize>
pub fn match_object_size(&self) -> Option<&MatchObjectSize>
Contains BytesGreaterThan
and BytesLessThan
to define the object size range (minimum and maximum number of Bytes).
source§impl StorageLensGroupAndOperator
impl StorageLensGroupAndOperator
sourcepub fn builder() -> StorageLensGroupAndOperatorBuilder
pub fn builder() -> StorageLensGroupAndOperatorBuilder
Creates a new builder-style object to manufacture StorageLensGroupAndOperator
.
Trait Implementations§
source§impl Clone for StorageLensGroupAndOperator
impl Clone for StorageLensGroupAndOperator
source§fn clone(&self) -> StorageLensGroupAndOperator
fn clone(&self) -> StorageLensGroupAndOperator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageLensGroupAndOperator
impl Debug for StorageLensGroupAndOperator
source§impl PartialEq for StorageLensGroupAndOperator
impl PartialEq for StorageLensGroupAndOperator
source§fn eq(&self, other: &StorageLensGroupAndOperator) -> bool
fn eq(&self, other: &StorageLensGroupAndOperator) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageLensGroupAndOperator
Auto Trait Implementations§
impl Freeze for StorageLensGroupAndOperator
impl RefUnwindSafe for StorageLensGroupAndOperator
impl Send for StorageLensGroupAndOperator
impl Sync for StorageLensGroupAndOperator
impl Unpin for StorageLensGroupAndOperator
impl UnwindSafe for StorageLensGroupAndOperator
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