Class CfnBucket.S3KeyFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.S3KeyFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.S3KeyFilterProperty>
- Enclosing interface:
CfnBucket.S3KeyFilterProperty
@Stability(Stable)
public static final class CfnBucket.S3KeyFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.S3KeyFilterProperty>
A builder for
CfnBucket.S3KeyFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucket.S3KeyFilterProperty.getRules()rules(IResolvable rules) Sets the value ofCfnBucket.S3KeyFilterProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rules
Sets the value ofCfnBucket.S3KeyFilterProperty.getRules()- Parameters:
rules- A list of containers for the key-value pair that defines the criteria for the filter rule. This parameter is required.- Returns:
this
-
rules
Sets the value ofCfnBucket.S3KeyFilterProperty.getRules()- Parameters:
rules- A list of containers for the key-value pair that defines the criteria for the filter rule. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.S3KeyFilterProperty>- Returns:
- a new instance of
CfnBucket.S3KeyFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-