Class ItemBatcherProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ItemBatcherProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ItemBatcherProps>
- Enclosing interface:
ItemBatcherProps
@Stability(Stable)
public static final class ItemBatcherProps.Builder
extends Object
implements software.amazon.jsii.Builder<ItemBatcherProps>
A builder for
ItemBatcherProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbatchInput
(com.fasterxml.jackson.databind.node.ObjectNode batchInput) Sets the value ofItemBatcherProps.getBatchInput()
build()
Builds the configured instance.maxInputBytesPerBatch
(Number maxInputBytesPerBatch) Sets the value ofItemBatcherProps.getMaxInputBytesPerBatch()
maxInputBytesPerBatchPath
(String maxInputBytesPerBatchPath) Sets the value ofItemBatcherProps.getMaxInputBytesPerBatchPath()
maxItemsPerBatch
(Number maxItemsPerBatch) Sets the value ofItemBatcherProps.getMaxItemsPerBatch()
maxItemsPerBatchPath
(String maxItemsPerBatchPath) Sets the value ofItemBatcherProps.getMaxItemsPerBatchPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchInput
@Stability(Stable) public ItemBatcherProps.Builder batchInput(com.fasterxml.jackson.databind.node.ObjectNode batchInput) Sets the value ofItemBatcherProps.getBatchInput()
- Parameters:
batchInput
- BatchInput. Fixed JSON input to include in each batch passed to each child workflow execution- Returns:
this
-
maxInputBytesPerBatch
@Stability(Stable) public ItemBatcherProps.Builder maxInputBytesPerBatch(Number maxInputBytesPerBatch) Sets the value ofItemBatcherProps.getMaxInputBytesPerBatch()
- Parameters:
maxInputBytesPerBatch
- MaxInputBytesPerBatch. Specifies the maximum number of bytes that each child workflow execution processes, as static number- Returns:
this
-
maxInputBytesPerBatchPath
@Stability(Stable) public ItemBatcherProps.Builder maxInputBytesPerBatchPath(String maxInputBytesPerBatchPath) Sets the value ofItemBatcherProps.getMaxInputBytesPerBatchPath()
- Parameters:
maxInputBytesPerBatchPath
- MaxInputBytesPerBatchPath. Specifies the maximum number of bytes that each child workflow execution processes, as JsonPath- Returns:
this
-
maxItemsPerBatch
Sets the value ofItemBatcherProps.getMaxItemsPerBatch()
- Parameters:
maxItemsPerBatch
- MaxItemsPerBatch. Specifies the maximum number of items that each child workflow execution processes, as static number- Returns:
this
-
maxItemsPerBatchPath
@Stability(Stable) public ItemBatcherProps.Builder maxItemsPerBatchPath(String maxItemsPerBatchPath) Sets the value ofItemBatcherProps.getMaxItemsPerBatchPath()
- Parameters:
maxItemsPerBatchPath
- MaxItemsPerBatchPath. Specifies the maximum number of items that each child workflow execution processes, as JsonPath- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ItemBatcherProps>
- Returns:
- a new instance of
ItemBatcherProps
- Throws:
NullPointerException
- if any required attribute was not provided
-