public static final class CfnFunction.S3EventProperty.Builder extends Object
CfnFunction.S3EventProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunction.S3EventProperty |
build()
Builds the configured instance.
|
CfnFunction.S3EventProperty.Builder |
withBucket(String value)
Sets the value of Bucket
|
CfnFunction.S3EventProperty.Builder |
withEvents(List<String> value)
Sets the value of Events
|
CfnFunction.S3EventProperty.Builder |
withEvents(String value)
Sets the value of Events
|
CfnFunction.S3EventProperty.Builder |
withEvents(software.amazon.awscdk.Token value)
Sets the value of Events
|
CfnFunction.S3EventProperty.Builder |
withFilter(CfnFunction.S3NotificationFilterProperty value)
Sets the value of Filter
|
CfnFunction.S3EventProperty.Builder |
withFilter(software.amazon.awscdk.Token value)
Sets the value of Filter
|
public CfnFunction.S3EventProperty.Builder withBucket(String value)
value - `CfnFunction.S3EventProperty.Bucket`thispublic CfnFunction.S3EventProperty.Builder withEvents(String value)
value - `CfnFunction.S3EventProperty.Events`thispublic CfnFunction.S3EventProperty.Builder withEvents(software.amazon.awscdk.Token value)
value - `CfnFunction.S3EventProperty.Events`thispublic CfnFunction.S3EventProperty.Builder withEvents(List<String> value)
value - `CfnFunction.S3EventProperty.Events`thispublic CfnFunction.S3EventProperty.Builder withFilter(@Nullable software.amazon.awscdk.Token value)
value - `CfnFunction.S3EventProperty.Filter`thispublic CfnFunction.S3EventProperty.Builder withFilter(@Nullable CfnFunction.S3NotificationFilterProperty value)
value - `CfnFunction.S3EventProperty.Filter`thispublic CfnFunction.S3EventProperty build()
CfnFunction.S3EventPropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.