Interface CfnBucket.FilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.FilterProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.FilterProperty
extends software.amazon.jsii.JsiiSerializable
The container for the filter of the lifecycle rule.
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.s3outposts.*;
FilterProperty filterProperty = FilterProperty.builder()
.andOperator(FilterAndOperatorProperty.builder()
.tags(List.of(FilterTagProperty.builder()
.key("key")
.value("value")
.build()))
// the properties below are optional
.prefix("prefix")
.build())
.prefix("prefix")
.tag(FilterTagProperty.builder()
.key("key")
.value("value")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.FilterPropertystatic final classAn implementation forCfnBucket.FilterProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndOperator
- See Also:
-
getPrefix
Prefix identifies one or more objects to which the rule applies.- See Also:
-
getTag
Tag used to identify a subset of objects for an Amazon S3Outposts bucket.- See Also:
-
builder
- Returns:
- a
CfnBucket.FilterProperty.BuilderofCfnBucket.FilterProperty
-