Class NodeBufferPool.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.NodeBufferPool.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeBufferPool.Builder,,NodeBufferPool> MutableBuilder<NodeBufferPool.Builder,,NodeBufferPool> ObjectBuilder<NodeBufferPool>
- Enclosing class:
NodeBufferPool
public static class NodeBufferPool.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeBufferPool.Builder,NodeBufferPool>
Builder for
NodeBufferPool.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeBufferPool.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeBufferPool.BuilderNumber of buffer pools.final NodeBufferPool.BuildertotalCapacity(String value) Total capacity of buffer pools.final NodeBufferPool.BuildertotalCapacityInBytes(Long value) Total capacity of buffer pools in bytes.final NodeBufferPool.BuilderSize of buffer pools.final NodeBufferPool.BuilderusedInBytes(Long value) Size of buffer pools in bytes.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<NodeBufferPool.Builder,NodeBufferPool> - Returns:
- a new builder instance.
-
count
Number of buffer pools.API name:
count -
totalCapacity
Total capacity of buffer pools.API name:
total_capacity -
totalCapacityInBytes
Total capacity of buffer pools in bytes.API name:
total_capacity_in_bytes -
used
Size of buffer pools.API name:
used -
usedInBytes
Size of buffer pools in bytes.API name:
used_in_bytes -
build
Builds aNodeBufferPool.- Specified by:
buildin interfaceObjectBuilder<NodeBufferPool>- Throws:
NullPointerException- if some of the required fields are null.
-