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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LambdaAction.BuilderfunctionArn(String functionArn)The ARN of the Lambda function that is executed.default LambdaAction.Builderpayload(Consumer<Payload.Builder> payload)You can configure the action payload when you send a message to a Lambda function.LambdaAction.Builderpayload(Payload payload)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 Detail
-
functionArn
LambdaAction.Builder functionArn(String 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
LambdaAction.Builder payload(Payload 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
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 method that creates an instance of thePayload.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,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:
payload(Payload)
-
-