Interface BatchConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchConfig.Builder,,BatchConfig> SdkBuilder<BatchConfig.Builder,,BatchConfig> SdkPojo
- Enclosing class:
BatchConfig
@Mutable
@NotThreadSafe
public static interface BatchConfig.Builder
extends SdkPojo, CopyableBuilder<BatchConfig.Builder,BatchConfig>
-
Method Summary
Modifier and TypeMethodDescriptionmaxBatchOpenMs(Integer maxBatchOpenMs) The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type.maxBatchSize(Integer maxBatchSize) The maximum number of messages that are batched together in a single action execution.maxBatchSizeBytes(Integer maxBatchSizeBytes) Maximum size of a message batch, in bytes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxBatchOpenMs
The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type. The higher the setting, the longer the latency of the batched HTTP Action will be.
- Parameters:
maxBatchOpenMs- The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type. The higher the setting, the longer the latency of the batched HTTP Action will be.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBatchSize
The maximum number of messages that are batched together in a single action execution.
- Parameters:
maxBatchSize- The maximum number of messages that are batched together in a single action execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBatchSizeBytes
Maximum size of a message batch, in bytes.
- Parameters:
maxBatchSizeBytes- Maximum size of a message batch, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-