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 NodeBufferPoolbuild()Builds aNodeBufferPool.NodeBufferPool.Buildercount(java.lang.Long value)API name:countprotected NodeBufferPool.Builderself()NodeBufferPool.BuildertotalCapacity(java.lang.String value)API name:total_capacityNodeBufferPool.BuildertotalCapacityInBytes(java.lang.Long value)API name:total_capacity_in_bytesNodeBufferPool.Builderused(java.lang.String value)API name:usedNodeBufferPool.BuilderusedInBytes(java.lang.Long value)API name:used_in_bytesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classWithJsonObjectBuilderBase<NodeBufferPool.Builder>
-
build
Builds aNodeBufferPool.- Specified by:
buildin interfaceObjectBuilder<NodeBufferPool>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-