public static interface FunctionEventInvokeConfig.Builder extends SdkPojo, CopyableBuilder<FunctionEventInvokeConfig.Builder,FunctionEventInvokeConfig>
Modifier and Type | Method and Description |
---|---|
default FunctionEventInvokeConfig.Builder |
destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
A destination for events after they have been sent to a function for processing.
|
FunctionEventInvokeConfig.Builder |
destinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
|
FunctionEventInvokeConfig.Builder |
functionArn(String functionArn)
The Amazon Resource Name (ARN) of the function.
|
FunctionEventInvokeConfig.Builder |
lastModified(Instant lastModified)
The date and time that the configuration was last updated.
|
FunctionEventInvokeConfig.Builder |
maximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
|
FunctionEventInvokeConfig.Builder |
maximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
FunctionEventInvokeConfig.Builder lastModified(Instant lastModified)
The date and time that the configuration was last updated.
lastModified
- The date and time that the configuration was last updated.FunctionEventInvokeConfig.Builder functionArn(String functionArn)
The Amazon Resource Name (ARN) of the function.
functionArn
- The Amazon Resource Name (ARN) of the function.FunctionEventInvokeConfig.Builder maximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.FunctionEventInvokeConfig.Builder maximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for processing.FunctionEventInvokeConfig.Builder destinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of an SQS queue.
Topic - The ARN of an SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
destinationConfig
- A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of an SQS queue.
Topic - The ARN of an SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
default FunctionEventInvokeConfig.Builder destinationConfig(Consumer<DestinationConfig.Builder> destinationConfig)
A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of an SQS queue.
Topic - The ARN of an SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
DestinationConfig.Builder
avoiding the
need to create one manually via DestinationConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to destinationConfig(DestinationConfig)
.
destinationConfig
- a consumer that will call methods on DestinationConfig.Builder
destinationConfig(DestinationConfig)
Copyright © 2022. All rights reserved.