Interface CfnStorageLensGroup.AndProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLensGroup.AndProperty.Jsii$Proxy
- Enclosing class:
CfnStorageLensGroup
@Stability(Stable)
public static interface CfnStorageLensGroup.AndProperty
extends software.amazon.jsii.JsiiSerializable
This resource is a logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.
Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
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.*;
AndProperty andProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStorageLensGroup.AndPropertystatic final classAn implementation forCfnStorageLensGroup.AndProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()This property contains a list of prefixes.This property contains a list of suffixes.default ObjectThis property contains the list of object tags.default ObjectThis property containsDaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).default ObjectThis property containsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMatchAnyPrefix
This property contains a list of prefixes.At least one prefix must be specified. Up to 10 prefixes are allowed.
- See Also:
-
getMatchAnySuffix
This property contains a list of suffixes.At least one suffix must be specified. Up to 10 suffixes are allowed.
- See Also:
-
getMatchAnyTag
This property contains the list of object tags.At least one object tag must be specified. Up to 10 object tags are allowed.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- See Also:
-
getMatchObjectAge
This property containsDaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).Returns union: either
IResolvableorCfnStorageLensGroup.MatchObjectAgeProperty- See Also:
-
getMatchObjectSize
This property containsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).Returns union: either
IResolvableorCfnStorageLensGroup.MatchObjectSizeProperty- See Also:
-
builder
-