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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIndexingPressure
.final IndexingPressure.Builder
memory
(IndexingPressureMemory value) Required - API name:memory
final IndexingPressure.Builder
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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
memory
Required - API name:memory
-
memory
public final IndexingPressure.Builder memory(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:
NullPointerException
- if some of the required fields are null.
-