Class NodeJvmInfo.Builder

All Implemented Interfaces:
Enclosing class:

public static class NodeJvmInfo.Builder
extends ObjectBuilderBase
implements ObjectBuilder<NodeJvmInfo>
Builder for NodeJvmInfo.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • gcCollectors

      public final NodeJvmInfo.Builder gcCollectors​(java.util.List<java.lang.String> list)
      Required - API name: gc_collectors

      Adds all elements of list to gcCollectors.

    • gcCollectors

      public final NodeJvmInfo.Builder gcCollectors​(java.lang.String value, java.lang.String... values)
      Required - API name: gc_collectors

      Adds one or more values to gcCollectors.

    • mem

      public final NodeJvmInfo.Builder mem​(NodeInfoJvmMemory value)
      Required - API name: mem
    • mem

      public final NodeJvmInfo.Builder mem​(java.util.function.Function<NodeInfoJvmMemory.Builder,​ObjectBuilder<NodeInfoJvmMemory>> fn)
      Required - API name: mem
    • memoryPools

      public final NodeJvmInfo.Builder memoryPools​(java.util.List<java.lang.String> list)
      Required - API name: memory_pools

      Adds all elements of list to memoryPools.

    • memoryPools

      public final NodeJvmInfo.Builder memoryPools​(java.lang.String value, java.lang.String... values)
      Required - API name: memory_pools

      Adds one or more values to memoryPools.

    • pid

      public final NodeJvmInfo.Builder pid​(int value)
      Required - API name: pid
    • startTimeInMillis

      public final NodeJvmInfo.Builder startTimeInMillis​(long value)
      Required - API name: start_time_in_millis
    • version

      public final NodeJvmInfo.Builder version​(java.lang.String value)
      Required - API name: version
    • vmName

      public final NodeJvmInfo.Builder vmName​(java.lang.String value)
      Required - API name: vm_name
    • vmVendor

      public final NodeJvmInfo.Builder vmVendor​(java.lang.String value)
      Required - API name: vm_vendor
    • vmVersion

      public final NodeJvmInfo.Builder vmVersion​(java.lang.String value)
      Required - API name: vm_version
    • bundledJdk

      public final NodeJvmInfo.Builder bundledJdk​(boolean value)
      Required - API name: bundled_jdk
    • usingBundledJdk

      public final NodeJvmInfo.Builder usingBundledJdk​(boolean value)
      Required - API name: using_bundled_jdk
    • usingCompressedOrdinaryObjectPointers

      public final NodeJvmInfo.Builder usingCompressedOrdinaryObjectPointers​(@Nullable java.lang.Boolean value)
      API name: using_compressed_ordinary_object_pointers
    • inputArguments

      public final NodeJvmInfo.Builder inputArguments​(java.util.List<java.lang.String> list)
      Required - API name: input_arguments

      Adds all elements of list to inputArguments.

    • inputArguments

      public final NodeJvmInfo.Builder inputArguments​(java.lang.String value, java.lang.String... values)
      Required - API name: input_arguments

      Adds one or more values to inputArguments.

    • build

      public NodeJvmInfo build()
      Builds a NodeJvmInfo.
      Specified by:
      build in interface ObjectBuilder<NodeJvmInfo>
      java.lang.NullPointerException - if some of the required fields are null.