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