Interface InvokeLambdaAction.Builder

  • Method Details

    • actionFailurePolicy

      InvokeLambdaAction.Builder actionFailurePolicy(String actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionFailurePolicy

      InvokeLambdaAction.Builder actionFailurePolicy(ActionFailurePolicy actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • functionArn

      InvokeLambdaAction.Builder functionArn(String functionArn)

      The Amazon Resource Name (ARN) of the Lambda function to invoke.

      Parameters:
      functionArn - The Amazon Resource Name (ARN) of the Lambda function to invoke.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invocationType

      InvokeLambdaAction.Builder invocationType(String invocationType)

      The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.

      Parameters:
      invocationType - The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • invocationType

      InvokeLambdaAction.Builder invocationType(LambdaInvocationType invocationType)

      The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.

      Parameters:
      invocationType - The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retryTimeMinutes

      InvokeLambdaAction.Builder retryTimeMinutes(Integer retryTimeMinutes)

      The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).

      Parameters:
      retryTimeMinutes - The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).
      Returns:
      Returns a reference to this object so that method calls can be chained together.