Class IndexingPressureMemory.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexingPressureMemory.Builder>
co.elastic.clients.elasticsearch.nodes.IndexingPressureMemory.Builder
- All Implemented Interfaces:
WithJson<IndexingPressureMemory.Builder>,ObjectBuilder<IndexingPressureMemory>
- Enclosing class:
- IndexingPressureMemory
public static class IndexingPressureMemory.Builder
extends WithJsonObjectBuilderBase<IndexingPressureMemory.Builder>
implements ObjectBuilder<IndexingPressureMemory>
Builder for
IndexingPressureMemory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingPressureMemory.current(PressureMemory value) API name:currentAPI name:currentAPI name:limitlimitInBytes(Long value) API name:limit_in_bytesprotected IndexingPressureMemory.Builderself()total(PressureMemory value) API name:totalAPI name:totalMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
limit
API name:limit -
limitInBytes
API name:limit_in_bytes -
current
API name:current -
current
public final IndexingPressureMemory.Builder current(Function<PressureMemory.Builder, ObjectBuilder<PressureMemory>> fn) API name:current -
total
API name:total -
total
public final IndexingPressureMemory.Builder total(Function<PressureMemory.Builder, ObjectBuilder<PressureMemory>> fn) API name:total -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexingPressureMemory.Builder>
-
build
Builds aIndexingPressureMemory.- Specified by:
buildin interfaceObjectBuilder<IndexingPressureMemory>- Throws:
NullPointerException- if some of the required fields are null.
-