Class CfnFunction.S3KeyFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.S3KeyFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.S3KeyFilterProperty>
- Enclosing interface:
CfnFunction.S3KeyFilterProperty
@Stability(Stable)
public static final class CfnFunction.S3KeyFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.S3KeyFilterProperty>
A builder for
CfnFunction.S3KeyFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunction.S3KeyFilterProperty.getRules()rules(IResolvable rules) Sets the value ofCfnFunction.S3KeyFilterProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rules
Sets the value ofCfnFunction.S3KeyFilterProperty.getRules()- Parameters:
rules- the value to be set. This parameter is required.- Returns:
this
-
rules
@Stability(Stable) public CfnFunction.S3KeyFilterProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnFunction.S3KeyFilterProperty.getRules()- Parameters:
rules- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.S3KeyFilterProperty>- Returns:
- a new instance of
CfnFunction.S3KeyFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-