Class NodeBufferPool.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeBufferPool.Builder>
co.elastic.clients.elasticsearch.nodes.NodeBufferPool.Builder
- All Implemented Interfaces:
WithJson<NodeBufferPool.Builder>
,ObjectBuilder<NodeBufferPool>
- Enclosing class:
- NodeBufferPool
public static class NodeBufferPool.Builder extends WithJsonObjectBuilderBase<NodeBufferPool.Builder> implements ObjectBuilder<NodeBufferPool>
Builder for
NodeBufferPool
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NodeBufferPool
build()
Builds aNodeBufferPool
.NodeBufferPool.Builder
count(java.lang.Long value)
API name:count
protected NodeBufferPool.Builder
self()
NodeBufferPool.Builder
totalCapacity(java.lang.String value)
API name:total_capacity
NodeBufferPool.Builder
totalCapacityInBytes(java.lang.Long value)
API name:total_capacity_in_bytes
NodeBufferPool.Builder
used(java.lang.String value)
API name:used
NodeBufferPool.Builder
usedInBytes(java.lang.Long value)
API name:used_in_bytes
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
-
count
API name:count
-
totalCapacity
API name:total_capacity
-
totalCapacityInBytes
API name:total_capacity_in_bytes
-
used
API name:used
-
usedInBytes
API name:used_in_bytes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<NodeBufferPool.Builder>
-
build
Builds aNodeBufferPool
.- Specified by:
build
in interfaceObjectBuilder<NodeBufferPool>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-