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 ==
.