Class ItemBatcher.Builder

java.lang.Object
software.amazon.awscdk.services.stepfunctions.ItemBatcher.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ItemBatcher>
Enclosing class:
ItemBatcher

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

    • create

      @Stability(Stable) public static ItemBatcher.Builder create()
      Returns:
      a new instance of ItemBatcher.Builder.
    • batchInput

      @Stability(Stable) public ItemBatcher.Builder batchInput(com.fasterxml.jackson.databind.node.ObjectNode batchInput)
      BatchInput.

      Fixed JSON input to include in each batch passed to each child workflow execution

      Default: - No batchInput

      Parameters:
      batchInput - BatchInput. This parameter is required.
      Returns:
      this
    • maxInputBytesPerBatch

      @Stability(Stable) public ItemBatcher.Builder maxInputBytesPerBatch(Number maxInputBytesPerBatch)
      MaxInputBytesPerBatch.

      Specifies the maximum number of bytes that each child workflow execution processes, as static number

      Default: - uses value of `maxInputBytesPerBatchPath` as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not provided

      Parameters:
      maxInputBytesPerBatch - MaxInputBytesPerBatch. This parameter is required.
      Returns:
      this
    • maxInputBytesPerBatchPath

      @Stability(Stable) public ItemBatcher.Builder maxInputBytesPerBatchPath(String maxInputBytesPerBatchPath)
      MaxInputBytesPerBatchPath.

      Specifies the maximum number of bytes that each child workflow execution processes, as JsonPath

      Default: - uses value of `maxInputBytesPerBatch` as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not provided

      Parameters:
      maxInputBytesPerBatchPath - MaxInputBytesPerBatchPath. This parameter is required.
      Returns:
      this
    • maxItemsPerBatch

      @Stability(Stable) public ItemBatcher.Builder maxItemsPerBatch(Number maxItemsPerBatch)
      MaxItemsPerBatch.

      Specifies the maximum number of items that each child workflow execution processes, as static number

      Default: - uses value of `maxItemsPerBatchPath` as the max items per batch, no limits on the number of items in a batch under the 256KB limit if that property was also not provided

      Parameters:
      maxItemsPerBatch - MaxItemsPerBatch. This parameter is required.
      Returns:
      this
    • maxItemsPerBatchPath

      @Stability(Stable) public ItemBatcher.Builder maxItemsPerBatchPath(String maxItemsPerBatchPath)
      MaxItemsPerBatchPath.

      Specifies the maximum number of items that each child workflow execution processes, as JsonPath

      Default: - uses value of `maxItemsPerBatch` as the max items per batch, no limits on the number of items in a batch under the 256KB limit if that property was also not provided

      Parameters:
      maxItemsPerBatchPath - MaxItemsPerBatchPath. This parameter is required.
      Returns:
      this
    • build

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