Class CfnBucket.FilterAndOperatorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnBucket.FilterAndOperatorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.FilterAndOperatorProperty>
- Enclosing interface:
CfnBucket.FilterAndOperatorProperty
@Stability(Stable)
public static final class CfnBucket.FilterAndOperatorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.FilterAndOperatorProperty>
A builder for
CfnBucket.FilterAndOperatorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucket.FilterAndOperatorProperty.getPrefix()tags(List<? extends CfnBucket.FilterTagProperty> tags) Sets the value ofCfnBucket.FilterAndOperatorProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
@Stability(Stable) public CfnBucket.FilterAndOperatorProperty.Builder tags(List<? extends CfnBucket.FilterTagProperty> tags) Sets the value ofCfnBucket.FilterAndOperatorProperty.getTags()- Parameters:
tags- All of these tags must exist in the object's tag set in order for the rule to apply. This parameter is required.- Returns:
this
-
prefix
Sets the value ofCfnBucket.FilterAndOperatorProperty.getPrefix()- Parameters:
prefix- Prefix identifies one or more objects to which the rule applies.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.FilterAndOperatorProperty>- Returns:
- a new instance of
CfnBucket.FilterAndOperatorProperty - Throws:
NullPointerException- if any required attribute was not provided
-