public static interface PutFunctionEventInvokeConfigRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PutFunctionEventInvokeConfigRequest.Builder,PutFunctionEventInvokeConfigRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutFunctionEventInvokeConfigRequest.Builder functionName(String functionName)
The name of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
PutFunctionEventInvokeConfigRequest.Builder qualifier(String qualifier)
A version number or alias name.
qualifier
- A version number or alias name.PutFunctionEventInvokeConfigRequest.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.PutFunctionEventInvokeConfigRequest.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.PutFunctionEventInvokeConfigRequest.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 PutFunctionEventInvokeConfigRequest.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)
PutFunctionEventInvokeConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutFunctionEventInvokeConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.