Interface InfluxDBBatchConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InfluxDBBatchConfig.Builder,,InfluxDBBatchConfig> SdkBuilder<InfluxDBBatchConfig.Builder,,InfluxDBBatchConfig> SdkPojo
- Enclosing class:
InfluxDBBatchConfig
-
Method Summary
Modifier and TypeMethodDescriptionbatchAcrossTopics(Boolean batchAcrossTopics) Specifies whether to collect data points from different topics into the same batch.maxBatchOpenMs(Integer maxBatchOpenMs) The maximum length of time, in milliseconds, to keep a batch open before writing it to InfluxDB.maxBatchSize(Integer maxBatchSize) The maximum number of data points to collect in a batch.maxBatchSizeBytes(Integer maxBatchSizeBytes) The maximum size of a batch, in bytes, before IoT writes it to InfluxDB.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
-
maxBatchSize
The maximum number of data points to collect in a batch.
If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Parameters:
maxBatchSize- The maximum number of data points to collect in a batch.If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBatchOpenMs
The maximum length of time, in milliseconds, to keep a batch open before writing it to InfluxDB.
If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Parameters:
maxBatchOpenMs- The maximum length of time, in milliseconds, to keep a batch open before writing it to InfluxDB.If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxBatchSizeBytes
The maximum size of a batch, in bytes, before IoT writes it to InfluxDB.
If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Parameters:
maxBatchSizeBytes- The maximum size of a batch, in bytes, before IoT writes it to InfluxDB.If you don't specify a value, this limit doesn't apply. IoT then closes each batch when another configured limit is reached.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchAcrossTopics
Specifies whether to collect data points from different topics into the same batch.
If omitted or
false, IoT batches data points for each topic separately.- Parameters:
batchAcrossTopics- Specifies whether to collect data points from different topics into the same batch.If omitted or
false, IoT batches data points for each topic separately.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-