public static interface CfnBucket.ReplicationRuleAndOperatorProperty
The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
Prefix
and a TagFilter
, wrap these filters in an And
tag.TagFilter
elements in an And
tagExample:
// 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.*; ReplicationRuleAndOperatorProperty replicationRuleAndOperatorProperty = ReplicationRuleAndOperatorProperty.builder() .prefix("prefix") .tagFilters(List.of(TagFilterProperty.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.ReplicationRuleAndOperatorProperty.Builder
A builder for
CfnBucket.ReplicationRuleAndOperatorProperty |
static class |
CfnBucket.ReplicationRuleAndOperatorProperty.Jsii$Proxy
An implementation for
CfnBucket.ReplicationRuleAndOperatorProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.ReplicationRuleAndOperatorProperty.Builder |
builder() |
default java.lang.String |
getPrefix()
An object key name prefix that identifies the subset of objects to which the rule applies.
|
default java.lang.Object |
getTagFilters()
An array of tags containing key and value pairs.
|
default java.lang.String getPrefix()
default java.lang.Object getTagFilters()
static CfnBucket.ReplicationRuleAndOperatorProperty.Builder builder()