Class HtmlStripProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<HtmlStripProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.HtmlStripProcessor.Builder
- All Implemented Interfaces:
WithJson<HtmlStripProcessor.Builder>
,ObjectBuilder<HtmlStripProcessor>
- Enclosing class:
- HtmlStripProcessor
public static class HtmlStripProcessor.Builder
extends ProcessorBase.AbstractBuilder<HtmlStripProcessor.Builder>
implements ObjectBuilder<HtmlStripProcessor>
Builder for
HtmlStripProcessor
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aHtmlStripProcessor
.Required - The string-valued field to remove HTML tags from.ignoreMissing
(Boolean value) Iftrue
andfield
does not exist or isnull
, the processor quietly exits without modifying the document,protected HtmlStripProcessor.Builder
self()
targetField
(String value) The field to assign the converted value to By default, thefield
is updated in-place.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tag
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
-
field
Required - The string-valued field to remove HTML tags from.API name:
field
-
ignoreMissing
Iftrue
andfield
does 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, thefield
is updated in-place.API name:
target_field
-
self
- Specified by:
self
in classProcessorBase.AbstractBuilder<HtmlStripProcessor.Builder>
-
build
Builds aHtmlStripProcessor
.- Specified by:
build
in interfaceObjectBuilder<HtmlStripProcessor>
- Throws:
NullPointerException
- if some of the required fields are null.
-