public static final class CfnBucket.ReplicationRuleFilterProperty.Builder
extends java.lang.Object
CfnBucket.ReplicationRuleFilterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBucket.ReplicationRuleFilterProperty.Builder |
and(CfnBucket.ReplicationRuleAndOperatorProperty and)
Sets the value of
CfnBucket.ReplicationRuleFilterProperty.getAnd() |
CfnBucket.ReplicationRuleFilterProperty.Builder |
and(IResolvable and)
Sets the value of
CfnBucket.ReplicationRuleFilterProperty.getAnd() |
CfnBucket.ReplicationRuleFilterProperty |
build()
Builds the configured instance.
|
CfnBucket.ReplicationRuleFilterProperty.Builder |
prefix(java.lang.String prefix)
Sets the value of
CfnBucket.ReplicationRuleFilterProperty.getPrefix() |
CfnBucket.ReplicationRuleFilterProperty.Builder |
tagFilter(CfnBucket.TagFilterProperty tagFilter)
Sets the value of
CfnBucket.ReplicationRuleFilterProperty.getTagFilter() |
CfnBucket.ReplicationRuleFilterProperty.Builder |
tagFilter(IResolvable tagFilter)
Sets the value of
CfnBucket.ReplicationRuleFilterProperty.getTagFilter() |
public CfnBucket.ReplicationRuleFilterProperty.Builder and(IResolvable and)
CfnBucket.ReplicationRuleFilterProperty.getAnd()
and
- A container for specifying rule filters.
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
tag.this
public CfnBucket.ReplicationRuleFilterProperty.Builder and(CfnBucket.ReplicationRuleAndOperatorProperty and)
CfnBucket.ReplicationRuleFilterProperty.getAnd()
and
- A container for specifying rule filters.
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
tag.this
public CfnBucket.ReplicationRuleFilterProperty.Builder prefix(java.lang.String prefix)
CfnBucket.ReplicationRuleFilterProperty.getPrefix()
prefix
- An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .
this
public CfnBucket.ReplicationRuleFilterProperty.Builder tagFilter(IResolvable tagFilter)
CfnBucket.ReplicationRuleFilterProperty.getTagFilter()
tagFilter
- A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.this
public CfnBucket.ReplicationRuleFilterProperty.Builder tagFilter(CfnBucket.TagFilterProperty tagFilter)
CfnBucket.ReplicationRuleFilterProperty.getTagFilter()
tagFilter
- A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.this
public CfnBucket.ReplicationRuleFilterProperty build()
CfnBucket.ReplicationRuleFilterProperty
java.lang.NullPointerException
- if any required attribute was not provided