Struct aws_sdk_s3control::types::StorageLensGroup
source · #[non_exhaustive]pub struct StorageLensGroup {
pub name: String,
pub filter: Option<StorageLensGroupFilter>,
pub storage_lens_group_arn: Option<String>,
}
Expand description
A custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators.
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.name: String
Contains the name of the Storage Lens group.
filter: Option<StorageLensGroupFilter>
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the AND
or OR
logical operator is used.
storage_lens_group_arn: Option<String>
Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
Implementations§
source§impl StorageLensGroup
impl StorageLensGroup
sourcepub fn filter(&self) -> Option<&StorageLensGroupFilter>
pub fn filter(&self) -> Option<&StorageLensGroupFilter>
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the AND
or OR
logical operator is used.
sourcepub fn storage_lens_group_arn(&self) -> Option<&str>
pub fn storage_lens_group_arn(&self) -> Option<&str>
Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
source§impl StorageLensGroup
impl StorageLensGroup
sourcepub fn builder() -> StorageLensGroupBuilder
pub fn builder() -> StorageLensGroupBuilder
Creates a new builder-style object to manufacture StorageLensGroup
.
Trait Implementations§
source§impl Clone for StorageLensGroup
impl Clone for StorageLensGroup
source§fn clone(&self) -> StorageLensGroup
fn clone(&self) -> StorageLensGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageLensGroup
impl Debug for StorageLensGroup
source§impl PartialEq for StorageLensGroup
impl PartialEq for StorageLensGroup
source§fn eq(&self, other: &StorageLensGroup) -> bool
fn eq(&self, other: &StorageLensGroup) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageLensGroup
Auto Trait Implementations§
impl Freeze for StorageLensGroup
impl RefUnwindSafe for StorageLensGroup
impl Send for StorageLensGroup
impl Sync for StorageLensGroup
impl Unpin for StorageLensGroup
impl UnwindSafe for StorageLensGroup
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