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