Class KeyedProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.KeyedProcessor.Builder
- All Implemented Interfaces:
ObjectBuilder<KeyedProcessor>
- Enclosing class:
- KeyedProcessor
public static class KeyedProcessor.Builder extends ObjectBuilderBase implements ObjectBuilder<KeyedProcessor>
Builder for
KeyedProcessor
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description KeyedProcessor
build()
Builds aKeyedProcessor
.KeyedProcessor.Builder
statistics(Process value)
Required - API name:statistics
KeyedProcessor.Builder
statistics(java.util.function.Function<Process.Builder,ObjectBuilder<Process>> fn)
Required - API name:statistics
KeyedProcessor.Builder
type(java.lang.String value)
Required - API name:type
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statistics
Required - API name:statistics
-
statistics
public final KeyedProcessor.Builder statistics(java.util.function.Function<Process.Builder,ObjectBuilder<Process>> fn)Required - API name:statistics
-
type
Required - API name:type
-
build
Builds aKeyedProcessor
.- Specified by:
build
in interfaceObjectBuilder<KeyedProcessor>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-