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.final RemoveProcessor.BuilderFields to be kept.final RemoveProcessor.BuilderFields to be kept.protected RemoveProcessor.Builderself()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 - 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. -
keep
Fields to be kept. When set, all fields other than those specified are removed.API name:
keepAdds all elements of
listtokeep. -
keep
Fields to be kept. When set, all fields other than those specified are removed.API name:
keepAdds one or more values to
keep. -
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.
-