Class PipelineSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.logstash.PipelineSettings.Builder
- All Implemented Interfaces:
ObjectBuilder<PipelineSettings>
- Enclosing class:
- PipelineSettings
public static class PipelineSettings.Builder extends ObjectBuilderBase implements ObjectBuilder<PipelineSettings>
Builder for
PipelineSettings.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PipelineSettingsbuild()Builds aPipelineSettings.PipelineSettings.BuilderpipelineBatchDelay(int value)Required - API name:pipeline.batch.delayPipelineSettings.BuilderpipelineBatchSize(int value)Required - API name:pipeline.batch.sizePipelineSettings.BuilderpipelineWorkers(int value)Required - API name:pipeline.workersPipelineSettings.BuilderqueueCheckpointWrites(int value)Required - API name:queue.checkpoint.writesPipelineSettings.BuilderqueueMaxBytesNumber(int value)Required - API name:queue.max_bytes.numberPipelineSettings.BuilderqueueMaxBytesUnits(java.lang.String value)Required - API name:queue.max_bytes.unitsPipelineSettings.BuilderqueueType(java.lang.String value)Required - API name:queue.typeMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineWorkers
Required - API name:pipeline.workers -
pipelineBatchSize
Required - API name:pipeline.batch.size -
pipelineBatchDelay
Required - API name:pipeline.batch.delay -
queueType
Required - API name:queue.type -
queueMaxBytesNumber
Required - API name:queue.max_bytes.number -
queueMaxBytesUnits
Required - API name:queue.max_bytes.units -
queueCheckpointWrites
Required - API name:queue.checkpoint.writes -
build
Builds aPipelineSettings.- Specified by:
buildin interfaceObjectBuilder<PipelineSettings>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-