Class CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty>
- Enclosing interface:
CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty>
A builder for
CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.getPrefix()tagFilters(List<? extends Object> tagFilters) Sets the value ofCfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.getTagFilters()tagFilters(IResolvable tagFilters) Sets the value ofCfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.getTagFilters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prefix
@Stability(Stable) public CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder prefix(String prefix) Sets the value ofCfnBucketPropsMixin.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 CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder tagFilters(IResolvable tagFilters) Sets the value ofCfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.getTagFilters()- Parameters:
tagFilters- An array of tags containing key and value pairs.- Returns:
this
-
tagFilters
@Stability(Stable) public CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.Builder tagFilters(List<? extends Object> tagFilters) Sets the value ofCfnBucketPropsMixin.ReplicationRuleAndOperatorProperty.getTagFilters()- Parameters:
tagFilters- An array of tags containing key and value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.ReplicationRuleAndOperatorProperty - Throws:
NullPointerException- if any required attribute was not provided
-