Class ItemBatcher.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ItemBatcher>
- Enclosing class:
ItemBatcher
ItemBatcher
.-
Method Summary
Modifier and TypeMethodDescriptionbatchInput
(com.fasterxml.jackson.databind.node.ObjectNode batchInput) BatchInput.build()
static ItemBatcher.Builder
create()
maxInputBytesPerBatch
(Number maxInputBytesPerBatch) MaxInputBytesPerBatch.maxInputBytesPerBatchPath
(String maxInputBytesPerBatchPath) MaxInputBytesPerBatchPath.maxItemsPerBatch
(Number maxItemsPerBatch) MaxItemsPerBatch.maxItemsPerBatchPath
(String maxItemsPerBatchPath) MaxItemsPerBatchPath.
-
Method Details
-
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
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ItemBatcher>
- Returns:
- a newly built instance of
ItemBatcher
.
-