Class RemoveProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<RemoveProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.RemoveProcessor.Builder
- All Implemented Interfaces:
WithJson<RemoveProcessor.Builder>,ObjectBuilder<RemoveProcessor>
- Enclosing class:
- RemoveProcessor
public static class RemoveProcessor.Builder
extends ProcessorBase.AbstractBuilder<RemoveProcessor.Builder>
implements ObjectBuilder<RemoveProcessor>
Builder for
RemoveProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoveProcessor.final RemoveProcessor.BuilderRequired - Fields to be removed.final RemoveProcessor.BuilderRequired - Fields to be removed.final RemoveProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.protected RemoveProcessor.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, ignoreFailure, 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 - Fields to be removed. Supports template snippets.API name:
fieldAdds all elements of
listtofield. -
field
Required - Fields to be removed. Supports template snippets.API name:
fieldAdds one or more values to
field. -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<RemoveProcessor.Builder>
-
build
Builds aRemoveProcessor.- Specified by:
buildin interfaceObjectBuilder<RemoveProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-