Class LambdaFunctionProcessor.Builder

java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.alpha.LambdaFunctionProcessor.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaFunctionProcessor>
Enclosing class:
LambdaFunctionProcessor

@Stability(Experimental) public static final class LambdaFunctionProcessor.Builder extends Object implements software.amazon.jsii.Builder<LambdaFunctionProcessor>
(experimental) A fluent builder for LambdaFunctionProcessor.
  • Method Details

    • create

      @Stability(Experimental) public static LambdaFunctionProcessor.Builder create(IFunction lambdaFunction)
      Parameters:
      lambdaFunction - This parameter is required.
      Returns:
      a new instance of LambdaFunctionProcessor.Builder.
    • bufferInterval

      @Stability(Experimental) public LambdaFunctionProcessor.Builder bufferInterval(Duration bufferInterval)
      (experimental) The length of time Kinesis Data Firehose will buffer incoming data before calling the processor.

      s

      Default: Duration.minutes(1)

      Parameters:
      bufferInterval - The length of time Kinesis Data Firehose will buffer incoming data before calling the processor. This parameter is required.
      Returns:
      this
    • bufferSize

      @Stability(Experimental) public LambdaFunctionProcessor.Builder bufferSize(Size bufferSize)
      (experimental) The amount of incoming data Kinesis Data Firehose will buffer before calling the processor.

      Default: Size.mebibytes(3)

      Parameters:
      bufferSize - The amount of incoming data Kinesis Data Firehose will buffer before calling the processor. This parameter is required.
      Returns:
      this
    • retries

      @Stability(Experimental) public LambdaFunctionProcessor.Builder retries(Number retries)
      (experimental) The number of times Kinesis Data Firehose will retry the processor invocation after a failure due to network timeout or invocation limits.

      Default: 3

      Parameters:
      retries - The number of times Kinesis Data Firehose will retry the processor invocation after a failure due to network timeout or invocation limits. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public LambdaFunctionProcessor build()
      Specified by:
      build in interface software.amazon.jsii.Builder<LambdaFunctionProcessor>
      Returns:
      a newly built instance of LambdaFunctionProcessor.