@Stability(value=Stable)
public static interface CfnBucket.ReplicationRuleAndOperatorProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getPrefix()
An object key name prefix that identifies the subset of objects to which the rule applies.
|
default Object |
getTagFilters()
An array of tags containing key and value pairs.
|
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Object getTagFilters()
@Stability(value=Stable) static CfnBucket.ReplicationRuleAndOperatorProperty.Builder builder()
Copyright © 2022. All rights reserved.