Interface LambdaFunctionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>,SdkBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>,SdkPojo
- Enclosing class:
- LambdaFunctionConfiguration
@Mutable @NotThreadSafe public static interface LambdaFunctionConfiguration.Builder extends SdkPojo, CopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LambdaFunctionConfiguration.Builderevents(Collection<Event> events)The Amazon S3 bucket event for which to invoke the Lambda function.LambdaFunctionConfiguration.Builderevents(Event... events)The Amazon S3 bucket event for which to invoke the Lambda function.LambdaFunctionConfiguration.BuildereventsWithStrings(String... events)The Amazon S3 bucket event for which to invoke the Lambda function.LambdaFunctionConfiguration.BuildereventsWithStrings(Collection<String> events)The Amazon S3 bucket event for which to invoke the Lambda function.default LambdaFunctionConfiguration.Builderfilter(Consumer<NotificationConfigurationFilter.Builder> filter)Sets the value of the Filter property for this object.LambdaFunctionConfiguration.Builderfilter(NotificationConfigurationFilter filter)Sets the value of the Filter property for this object.LambdaFunctionConfiguration.Builderid(String id)Sets the value of the Id property for this object.LambdaFunctionConfiguration.BuilderlambdaFunctionArn(String lambdaFunctionArn)The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
LambdaFunctionConfiguration.Builder id(String id)
Sets the value of the Id property for this object.- Parameters:
id- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionArn
LambdaFunctionConfiguration.Builder lambdaFunctionArn(String lambdaFunctionArn)
The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.
- Parameters:
lambdaFunctionArn- The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes when the specified event type occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsWithStrings
LambdaFunctionConfiguration.Builder eventsWithStrings(Collection<String> events)
The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
- Parameters:
events- The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsWithStrings
LambdaFunctionConfiguration.Builder eventsWithStrings(String... events)
The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
- Parameters:
events- The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
LambdaFunctionConfiguration.Builder events(Collection<Event> events)
The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
- Parameters:
events- The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
LambdaFunctionConfiguration.Builder events(Event... events)
The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
- Parameters:
events- The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
LambdaFunctionConfiguration.Builder filter(NotificationConfigurationFilter filter)
Sets the value of the Filter property for this object.- Parameters:
filter- The new value for the Filter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default LambdaFunctionConfiguration.Builder filter(Consumer<NotificationConfigurationFilter.Builder> filter)
Sets the value of the Filter property for this object. This is a convenience method that creates an instance of theNotificationConfigurationFilter.Builderavoiding the need to create one manually viaNotificationConfigurationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(NotificationConfigurationFilter).- Parameters:
filter- a consumer that will call methods onNotificationConfigurationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(NotificationConfigurationFilter)
-
-