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
-CfnBucket.FilterAndOperatorProperty.Tags
. This parameter is required.- Returns:
this
-
prefix
Sets the value ofCfnBucket.FilterAndOperatorProperty.getPrefix()
- Parameters:
prefix
-CfnBucket.FilterAndOperatorProperty.Prefix
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.FilterAndOperatorProperty>
- Returns:
- a new instance of
CfnBucket.FilterAndOperatorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-