public static interface LambdaFunctionConfiguration.Builder extends CopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>
Modifier and Type | Method and Description |
---|---|
LambdaFunctionConfiguration.Builder |
events(Collection<Event> events)
Sets the value of the Events property for this object.
|
LambdaFunctionConfiguration.Builder |
events(Event... events)
Sets the value of the Events property for this object.
|
LambdaFunctionConfiguration.Builder |
eventsWithStrings(Collection<String> events)
Sets the value of the Events property for this object.
|
LambdaFunctionConfiguration.Builder |
eventsWithStrings(String... events)
Sets the value of the Events property for this object.
|
default LambdaFunctionConfiguration.Builder |
filter(Consumer<NotificationConfigurationFilter.Builder> filter)
Sets the value of the Filter property for this object.
|
LambdaFunctionConfiguration.Builder |
filter(NotificationConfigurationFilter filter)
Sets the value of the Filter property for this object.
|
LambdaFunctionConfiguration.Builder |
id(String id)
Sets the value of the Id property for this object.
|
LambdaFunctionConfiguration.Builder |
lambdaFunctionArn(String lambdaFunctionArn)
Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.
|
copy
applyMutation, build
LambdaFunctionConfiguration.Builder id(String id)
id
- The new value for the Id property for this object.LambdaFunctionConfiguration.Builder lambdaFunctionArn(String lambdaFunctionArn)
lambdaFunctionArn
- Lambda cloud function ARN that Amazon S3 can invoke when it detects events of the specified type.LambdaFunctionConfiguration.Builder eventsWithStrings(Collection<String> events)
events
- The new value for the Events property for this object.LambdaFunctionConfiguration.Builder eventsWithStrings(String... events)
events
- The new value for the Events property for this object.LambdaFunctionConfiguration.Builder events(Collection<Event> events)
events
- The new value for the Events property for this object.LambdaFunctionConfiguration.Builder events(Event... events)
events
- The new value for the Events property for this object.LambdaFunctionConfiguration.Builder filter(NotificationConfigurationFilter filter)
filter
- The new value for the Filter property for this object.default LambdaFunctionConfiguration.Builder filter(Consumer<NotificationConfigurationFilter.Builder> filter)
NotificationConfigurationFilter.Builder
avoiding the need to create one manually via NotificationConfigurationFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to filter(NotificationConfigurationFilter)
.filter
- a consumer that will call methods on NotificationConfigurationFilter.Builder
filter(NotificationConfigurationFilter)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.