public static interface LambdaFunctionConfiguration.Builder extends SdkPojo, CopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>
Modifier and Type | Method and Description |
---|---|
LambdaFunctionConfiguration.Builder |
events(Collection<Event> events)
|
LambdaFunctionConfiguration.Builder |
events(Event... events)
|
LambdaFunctionConfiguration.Builder |
eventsWithStrings(Collection<String> events)
|
LambdaFunctionConfiguration.Builder |
eventsWithStrings(String... events)
|
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)
The Amazon Resource Name (ARN) of the Lambda cloud function 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)
The Amazon Resource Name (ARN) of the Lambda cloud function that Amazon S3 can invoke when it detects events of the specified type.
lambdaFunctionArn
- The Amazon Resource Name (ARN) of the Lambda cloud function that Amazon S3 can invoke when it detects
events of the specified type.LambdaFunctionConfiguration.Builder eventsWithStrings(Collection<String> events)
events
- LambdaFunctionConfiguration.Builder eventsWithStrings(String... events)
events
- LambdaFunctionConfiguration.Builder events(Collection<Event> events)
events
- LambdaFunctionConfiguration.Builder events(Event... events)
events
- 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 © 2019. All rights reserved.