Class IndexingPressure.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexingPressure.Builder>
co.elastic.clients.elasticsearch.cluster.stats.IndexingPressure.Builder
- All Implemented Interfaces:
WithJson<IndexingPressure.Builder>
,ObjectBuilder<IndexingPressure>
- Enclosing class:
- IndexingPressure
public static class IndexingPressure.Builder extends WithJsonObjectBuilderBase<IndexingPressure.Builder> 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)
Required - API name:memory
IndexingPressure.Builder
memory(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)
Required - API name:memory
protected IndexingPressure.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
Required - API name:memory
-
memory
public final IndexingPressure.Builder memory(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)Required - API name:memory
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexingPressure.Builder>
-
build
Builds aIndexingPressure
.- Specified by:
build
in interfaceObjectBuilder<IndexingPressure>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-