Class CfnFunctionPropsMixin.S3EventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.S3EventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.S3EventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.S3EventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.S3EventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.S3EventProperty>
A builder for
CfnFunctionPropsMixin.S3EventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.S3EventProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getEvents()Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getFilter()filter(IResolvable filter) Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getFilter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getBucket()- Parameters:
bucket- the value to be set.- Returns:
this
-
events
Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
filter
Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getFilter()- Parameters:
filter- the value to be set.- Returns:
this
-
filter
@Stability(Stable) public CfnFunctionPropsMixin.S3EventProperty.Builder filter(CfnFunctionPropsMixin.S3NotificationFilterProperty filter) Sets the value ofCfnFunctionPropsMixin.S3EventProperty.getFilter()- Parameters:
filter- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.S3EventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.S3EventProperty - Throws:
NullPointerException- if any required attribute was not provided
-