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