Class CefProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<CefProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.CefProcessor.Builder
- All Implemented Interfaces:
WithJson<CefProcessor.Builder>,ObjectBuilder<CefProcessor>
- Enclosing class:
- CefProcessor
public static class CefProcessor.Builder
extends ProcessorBase.AbstractBuilder<CefProcessor.Builder>
implements ObjectBuilder<CefProcessor>
Builder for
CefProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCefProcessor.final CefProcessor.BuilderRequired - The field containing the CEF message.final CefProcessor.BuilderignoreEmptyValues(Boolean value) Iftrueand value is anempty string in extensions, the processor quietly exits without modifying the document.final CefProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.protected CefProcessor.Builderself()final CefProcessor.BuildertargetField(String value) The field to assign the converted value to.final CefProcessor.BuilderThe timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - The field containing the CEF message.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetField
The field to assign the converted value to. By default, thetarget_fieldis 'cef'API name:
target_field -
ignoreEmptyValues
Iftrueand value is anempty string in extensions, the processor quietly exits without modifying the document.API name:
ignore_empty_values -
timezone
The timezone to use when parsing the date and when date math index supports resolves expressions into concrete index names.API name:
timezone -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<CefProcessor.Builder>
-
build
Builds aCefProcessor.- Specified by:
buildin interfaceObjectBuilder<CefProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-