Class KeyedProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<KeyedProcessor.Builder>
co.elastic.clients.elasticsearch.nodes.KeyedProcessor.Builder
- All Implemented Interfaces:
WithJson<KeyedProcessor.Builder>,ObjectBuilder<KeyedProcessor>
- Enclosing class:
- KeyedProcessor
public static class KeyedProcessor.Builder extends WithJsonObjectBuilderBase<KeyedProcessor.Builder> implements ObjectBuilder<KeyedProcessor>
Builder for
KeyedProcessor.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description KeyedProcessorbuild()Builds aKeyedProcessor.protected KeyedProcessor.Builderself()KeyedProcessor.Builderstats(Processor value)API name:statsKeyedProcessor.Builderstats(java.util.function.Function<Processor.Builder,ObjectBuilder<Processor>> fn)API name:statsKeyedProcessor.Buildertype(java.lang.String value)API name:typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
stats
API name:stats -
stats
public final KeyedProcessor.Builder stats(java.util.function.Function<Processor.Builder,ObjectBuilder<Processor>> fn)API name:stats -
type
API name:type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<KeyedProcessor.Builder>
-
build
Builds aKeyedProcessor.- Specified by:
buildin interfaceObjectBuilder<KeyedProcessor>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-