Interface CfnStorageLensGroup.FilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStorageLensGroup.FilterProperty.Jsii$Proxy
Enclosing class:
CfnStorageLensGroup

@Stability(Stable) public static interface CfnStorageLensGroup.FilterProperty extends software.amazon.jsii.JsiiSerializable
This resource sets the criteria for the Storage Lens group data that is displayed.

For multiple filter conditions, the AND or OR logical operator is used.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 FilterProperty filterProperty = FilterProperty.builder()
         .and(AndProperty.builder()
                 .matchAnyPrefix(List.of("matchAnyPrefix"))
                 .matchAnySuffix(List.of("matchAnySuffix"))
                 .matchAnyTag(List.of(CfnTag.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .matchObjectAge(MatchObjectAgeProperty.builder()
                         .daysGreaterThan(123)
                         .daysLessThan(123)
                         .build())
                 .matchObjectSize(MatchObjectSizeProperty.builder()
                         .bytesGreaterThan(123)
                         .bytesLessThan(123)
                         .build())
                 .build())
         .matchAnyPrefix(List.of("matchAnyPrefix"))
         .matchAnySuffix(List.of("matchAnySuffix"))
         .matchAnyTag(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .matchObjectAge(MatchObjectAgeProperty.builder()
                 .daysGreaterThan(123)
                 .daysLessThan(123)
                 .build())
         .matchObjectSize(MatchObjectSizeProperty.builder()
                 .bytesGreaterThan(123)
                 .bytesLessThan(123)
                 .build())
         .or(OrProperty.builder()
                 .matchAnyPrefix(List.of("matchAnyPrefix"))
                 .matchAnySuffix(List.of("matchAnySuffix"))
                 .matchAnyTag(List.of(CfnTag.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .matchObjectAge(MatchObjectAgeProperty.builder()
                         .daysGreaterThan(123)
                         .daysLessThan(123)
                         .build())
                 .matchObjectSize(MatchObjectSizeProperty.builder()
                         .bytesGreaterThan(123)
                         .bytesLessThan(123)
                         .build())
                 .build())
         .build();
 

See Also: