Class PipelineSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PipelineSettings.Builder>
co.elastic.clients.elasticsearch.logstash.PipelineSettings.Builder
- All Implemented Interfaces:
WithJson<PipelineSettings.Builder>
,ObjectBuilder<PipelineSettings>
- Enclosing class:
- PipelineSettings
public static class PipelineSettings.Builder
extends WithJsonObjectBuilderBase<PipelineSettings.Builder>
implements ObjectBuilder<PipelineSettings>
Builder for
PipelineSettings
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPipelineSettings
.final PipelineSettings.Builder
pipelineBatchDelay
(int value) Required - When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.final PipelineSettings.Builder
pipelineBatchSize
(int value) Required - The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.final PipelineSettings.Builder
pipelineWorkers
(int value) Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.final PipelineSettings.Builder
queueCheckpointWrites
(int value) Required - The maximum number of written events before forcing a checkpoint when persistent queues are enabled (queue.type: persisted
).final PipelineSettings.Builder
queueMaxBytesNumber
(int value) Required - The total capacity of the queue (queue.type: persisted
) in number of bytes.final PipelineSettings.Builder
queueMaxBytesUnits
(String value) Required - The total capacity of the queue (queue.type: persisted
) in terms of units of bytes.final PipelineSettings.Builder
Required - The internal queuing model to use for event buffering.protected PipelineSettings.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineWorkers
Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.API name:
pipeline.workers
-
pipelineBatchSize
Required - The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.API name:
pipeline.batch.size
-
pipelineBatchDelay
Required - When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.API name:
pipeline.batch.delay
-
queueType
Required - The internal queuing model to use for event buffering.API name:
queue.type
-
queueMaxBytesNumber
Required - The total capacity of the queue (queue.type: persisted
) in number of bytes.API name:
queue.max_bytes.number
-
queueMaxBytesUnits
Required - The total capacity of the queue (queue.type: persisted
) in terms of units of bytes.API name:
queue.max_bytes.units
-
queueCheckpointWrites
Required - The maximum number of written events before forcing a checkpoint when persistent queues are enabled (queue.type: persisted
).API name:
queue.checkpoint.writes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PipelineSettings.Builder>
-
build
Builds aPipelineSettings
.- Specified by:
build
in interfaceObjectBuilder<PipelineSettings>
- Throws:
NullPointerException
- if some of the required fields are null.
-