Class CfnBucket.FilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3outposts.CfnBucket.FilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.FilterProperty>
- Enclosing interface:
CfnBucket.FilterProperty
@Stability(Stable)
public static final class CfnBucket.FilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.FilterProperty>
A builder for
CfnBucket.FilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandOperator(IResolvable andOperator) Sets the value ofCfnBucket.FilterProperty.getAndOperator()andOperator(CfnBucket.FilterAndOperatorProperty andOperator) Sets the value ofCfnBucket.FilterProperty.getAndOperator()build()Builds the configured instance.Sets the value ofCfnBucket.FilterProperty.getPrefix()tag(IResolvable tag) Sets the value ofCfnBucket.FilterProperty.getTag()Sets the value ofCfnBucket.FilterProperty.getTag()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
andOperator
Sets the value ofCfnBucket.FilterProperty.getAndOperator()- Parameters:
andOperator- the value to be set.- Returns:
this
-
andOperator
@Stability(Stable) public CfnBucket.FilterProperty.Builder andOperator(CfnBucket.FilterAndOperatorProperty andOperator) Sets the value ofCfnBucket.FilterProperty.getAndOperator()- Parameters:
andOperator- the value to be set.- Returns:
this
-
prefix
Sets the value ofCfnBucket.FilterProperty.getPrefix()- Parameters:
prefix- Prefix identifies one or more objects to which the rule applies.- Returns:
this
-
tag
Sets the value ofCfnBucket.FilterProperty.getTag()- Parameters:
tag- Tag used to identify a subset of objects for an Amazon S3Outposts bucket.- Returns:
this
-
tag
Sets the value ofCfnBucket.FilterProperty.getTag()- Parameters:
tag- Tag used to identify a subset of objects for an Amazon S3Outposts bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.FilterProperty>- Returns:
- a new instance of
CfnBucket.FilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-