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 Details

    • 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 the Payload.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).

      Parameters:
      payload - a consumer that will call methods on Payload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: