public static interface LambdaAction.Builder extends SdkPojo, CopyableBuilder<LambdaAction.Builder,LambdaAction>
| Modifier and Type | Method and Description |
|---|---|
LambdaAction.Builder |
functionArn(String functionArn)
The ARN of the Lambda function that is executed.
|
default LambdaAction.Builder |
payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message to a Lambda function.
|
LambdaAction.Builder |
payload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLambdaAction.Builder functionArn(String functionArn)
The ARN of the Lambda function that is executed.
functionArn - The ARN of the Lambda function that is executed.LambdaAction.Builder payload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
payload - You can configure the action payload when you send a message to a Lambda function.default LambdaAction.Builder payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message to a Lambda function.
This is a convenience that creates an instance of thePayload.Builder avoiding the need to create one
manually via Payload.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to payload(Payload).payload - a consumer that will call methods on Payload.Builderpayload(Payload)Copyright © 2022. All rights reserved.