Interface LambdaAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaAction.Builder,,LambdaAction> SdkBuilder<LambdaAction.Builder,,LambdaAction> SdkPojo
- Enclosing class:
LambdaAction
@Mutable
@NotThreadSafe
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.Builderpayload(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-