Class IndexingPressure.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.IndexingPressure.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexingPressure>
- Enclosing class:
- IndexingPressure
public static class IndexingPressure.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexingPressure>
Builder for
IndexingPressure
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexingPressure
build()
Builds aIndexingPressure
.IndexingPressure.Builder
memory(IndexingPressureMemory value)
API name:memory
IndexingPressure.Builder
memory(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)
API name:memory
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
-
memory
API name:memory
-
memory
public final IndexingPressure.Builder memory(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)API name:memory
-
build
Builds aIndexingPressure
.- Specified by:
build
in interfaceObjectBuilder<IndexingPressure>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-