Class NodeJvmInfo.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeJvmInfo.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeJvmInfo.Builder,,NodeJvmInfo> MutableBuilder<NodeJvmInfo.Builder,,NodeJvmInfo> ObjectBuilder<NodeJvmInfo>
- Enclosing class:
NodeJvmInfo
public static class NodeJvmInfo.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeJvmInfo.Builder,NodeJvmInfo>
Builder for
NodeJvmInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeJvmInfo.final NodeJvmInfo.BuilderbundledJdk(boolean value) Required - Whether the JDK is bundled with OpenSearch.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeJvmInfo.BuildergcCollectors(String value, String... values) The garbage collectors enabled in the JVM.final NodeJvmInfo.BuildergcCollectors(List<String> list) The garbage collectors enabled in the JVM.final NodeJvmInfo.BuilderinputArguments(String value, String... values) The command line arguments passed to the JVM.final NodeJvmInfo.BuilderinputArguments(List<String> list) The command line arguments passed to the JVM.final NodeJvmInfo.BuilderRequired - API name:memfinal NodeJvmInfo.Buildermem(NodeInfoJvmMemory value) Required - API name:memfinal NodeJvmInfo.BuildermemoryPools(String value, String... values) The memory pools available to the JVM.final NodeJvmInfo.BuildermemoryPools(List<String> list) The memory pools available to the JVM.final NodeJvmInfo.Builderpid(int value) Required - The process identifier of the JVM.final NodeJvmInfo.BuilderAPI name:start_timefinal NodeJvmInfo.BuilderstartTimeInMillis(long value) Required - API name:start_time_in_millisfinal NodeJvmInfo.BuilderusingBundledJdk(Boolean value) Whether the node is using the bundled JDK.final NodeJvmInfo.BuilderAPI name:using_compressed_ordinary_object_pointersfinal NodeJvmInfo.BuilderAPI name:versionfinal NodeJvmInfo.BuilderAPI name:vm_namefinal NodeJvmInfo.BuilderThe vendor of the JVM.final NodeJvmInfo.BuilderAPI name:vm_versionMethods 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<NodeJvmInfo.Builder,NodeJvmInfo> - Returns:
- a new builder instance.
-
bundledJdk
Required - Whether the JDK is bundled with OpenSearch.API name:
bundled_jdk -
gcCollectors
The garbage collectors enabled in the JVM.API name:
gc_collectorsAdds all elements of
listtogcCollectors. -
gcCollectors
The garbage collectors enabled in the JVM.API name:
gc_collectorsAdds one or more values to
gcCollectors. -
inputArguments
The command line arguments passed to the JVM.API name:
input_argumentsAdds all elements of
listtoinputArguments. -
inputArguments
The command line arguments passed to the JVM.API name:
input_argumentsAdds one or more values to
inputArguments. -
mem
Required - API name:mem -
mem
@Nonnull public final NodeJvmInfo.Builder mem(Function<NodeInfoJvmMemory.Builder, ObjectBuilder<NodeInfoJvmMemory>> fn) Required - API name:mem -
memoryPools
The memory pools available to the JVM.API name:
memory_poolsAdds all elements of
listtomemoryPools. -
memoryPools
The memory pools available to the JVM.API name:
memory_poolsAdds one or more values to
memoryPools. -
pid
Required - The process identifier of the JVM.API name:
pid -
startTime
API name:start_time -
startTimeInMillis
Required - API name:start_time_in_millis -
usingBundledJdk
Whether the node is using the bundled JDK.API name:
using_bundled_jdk -
usingCompressedOrdinaryObjectPointers
@Nonnull public final NodeJvmInfo.Builder usingCompressedOrdinaryObjectPointers(@Nullable Boolean value) API name:using_compressed_ordinary_object_pointers -
version
API name:version -
vmName
API name:vm_name -
vmVendor
The vendor of the JVM.API name:
vm_vendor -
vmVersion
API name:vm_version -
build
Builds aNodeJvmInfo.- Specified by:
buildin interfaceObjectBuilder<NodeJvmInfo>- Throws:
NullPointerException- if some of the required fields are null.
-