Class NodeInfoJvmMemory.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoJvmMemory.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoJvmMemory.Builder,,NodeInfoJvmMemory> MutableBuilder<NodeInfoJvmMemory.Builder,,NodeInfoJvmMemory> ObjectBuilder<NodeInfoJvmMemory>
- Enclosing class:
NodeInfoJvmMemory
public static class NodeInfoJvmMemory.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoJvmMemory.Builder,NodeInfoJvmMemory>
Builder for
NodeInfoJvmMemory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoJvmMemory.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:direct_maxdirectMaxInBytes(long value) Required - API name:direct_max_in_bytesAPI name:heap_initheapInitInBytes(long value) Required - API name:heap_init_in_bytesAPI name:heap_maxheapMaxInBytes(long value) Required - API name:heap_max_in_bytesnonHeapInit(String value) API name:non_heap_initnonHeapInitInBytes(long value) Required - API name:non_heap_init_in_bytesnonHeapMax(String value) API name:non_heap_maxnonHeapMaxInBytes(long value) Required - API name:non_heap_max_in_bytesMethods 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<NodeInfoJvmMemory.Builder,NodeInfoJvmMemory> - Returns:
- a new builder instance.
-
directMax
API name:direct_max -
directMaxInBytes
Required - API name:direct_max_in_bytes -
heapInit
API name:heap_init -
heapInitInBytes
Required - API name:heap_init_in_bytes -
heapMax
API name:heap_max -
heapMaxInBytes
Required - API name:heap_max_in_bytes -
nonHeapInit
API name:non_heap_init -
nonHeapInitInBytes
Required - API name:non_heap_init_in_bytes -
nonHeapMax
API name:non_heap_max -
nonHeapMaxInBytes
Required - API name:non_heap_max_in_bytes -
build
Builds aNodeInfoJvmMemory.- Specified by:
buildin interfaceObjectBuilder<NodeInfoJvmMemory>- Throws:
NullPointerException- if some of the required fields are null.
-