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