Interface LambdaAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaAction.Builder,
,LambdaAction> SdkBuilder<LambdaAction.Builder,
,LambdaAction> SdkPojo
- Enclosing class:
LambdaAction
public static interface LambdaAction.Builder
extends SdkPojo, CopyableBuilder<LambdaAction.Builder,LambdaAction>
-
Method Summary
Modifier and TypeMethodDescriptionfunctionArn
(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.You can configure the action payload when you send a message to a Lambda function.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, sdkFields
-
Method Details
-
functionArn
The ARN of the Lambda function that is executed.
- Parameters:
functionArn
- The ARN of the Lambda function that is executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
You can configure the action payload when you send a message to a Lambda function.
- Parameters:
payload
- You can configure the action payload when you send a message to a Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
You can configure the action payload when you send a message to a Lambda function.
This is a convenience method that creates an instance of thePayload.Builder
avoiding the need to create one manually viaPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(Payload)
.- Parameters:
payload
- a consumer that will call methods onPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-