Class CfnBucket.ReplicationRuleAndOperatorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.ReplicationRuleAndOperatorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.ReplicationRuleAndOperatorProperty>
- Enclosing interface:
CfnBucket.ReplicationRuleAndOperatorProperty
@Stability(Stable)
public static final class CfnBucket.ReplicationRuleAndOperatorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.ReplicationRuleAndOperatorProperty>
A builder for
CfnBucket.ReplicationRuleAndOperatorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getPrefix()
tagFilters
(List<? extends Object> tagFilters) Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getTagFilters()
tagFilters
(IResolvable tagFilters) Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getTagFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prefix
@Stability(Stable) public CfnBucket.ReplicationRuleAndOperatorProperty.Builder prefix(String prefix) Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getPrefix()
- Parameters:
prefix
- An object key name prefix that identifies the subset of objects to which the rule applies.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnBucket.ReplicationRuleAndOperatorProperty.Builder tagFilters(IResolvable tagFilters) Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getTagFilters()
- Parameters:
tagFilters
- An array of tags containing key and value pairs.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnBucket.ReplicationRuleAndOperatorProperty.Builder tagFilters(List<? extends Object> tagFilters) Sets the value ofCfnBucket.ReplicationRuleAndOperatorProperty.getTagFilters()
- Parameters:
tagFilters
- An array of tags containing key and value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.ReplicationRuleAndOperatorProperty>
- Returns:
- a new instance of
CfnBucket.ReplicationRuleAndOperatorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-