Class NodesRecord.Builder

All Implemented Interfaces:
WithJson<NodesRecord.Builder>, ObjectBuilder<NodesRecord>
Enclosing class:
NodesRecord

public static class NodesRecord.Builder extends WithJsonObjectBuilderBase<NodesRecord.Builder> implements ObjectBuilder<NodesRecord>
Builder for NodesRecord.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • id

      public final NodesRecord.Builder id(@Nullable String value)
      The unique node identifier.

      API name: id

    • pid

      public final NodesRecord.Builder pid(@Nullable String value)
      The process identifier.

      API name: pid

    • ip

      public final NodesRecord.Builder ip(@Nullable String value)
      The IP address.

      API name: ip

    • port

      public final NodesRecord.Builder port(@Nullable String value)
      The bound transport port.

      API name: port

    • httpAddress

      public final NodesRecord.Builder httpAddress(@Nullable String value)
      The bound HTTP address.

      API name: http_address

    • version

      public final NodesRecord.Builder version(@Nullable String value)
      The Elasticsearch version.

      API name: version

    • flavor

      public final NodesRecord.Builder flavor(@Nullable String value)
      The Elasticsearch distribution flavor.

      API name: flavor

    • type

      public final NodesRecord.Builder type(@Nullable String value)
      The Elasticsearch distribution type.

      API name: type

    • build

      public final NodesRecord.Builder build(@Nullable String value)
      The Elasticsearch build hash.

      API name: build

    • jdk

      public final NodesRecord.Builder jdk(@Nullable String value)
      The Java version.

      API name: jdk

    • diskTotal

      public final NodesRecord.Builder diskTotal(@Nullable String value)
      The total disk space.

      API name: disk.total

    • diskUsed

      public final NodesRecord.Builder diskUsed(@Nullable String value)
      The used disk space.

      API name: disk.used

    • diskAvail

      public final NodesRecord.Builder diskAvail(@Nullable String value)
      The available disk space.

      API name: disk.avail

    • diskUsedPercent

      public final NodesRecord.Builder diskUsedPercent(@Nullable String value)
      The used disk space percentage.

      API name: disk.used_percent

    • heapCurrent

      public final NodesRecord.Builder heapCurrent(@Nullable String value)
      The used heap.

      API name: heap.current

    • heapPercent

      public final NodesRecord.Builder heapPercent(@Nullable String value)
      The used heap ratio.

      API name: heap.percent

    • heapMax

      public final NodesRecord.Builder heapMax(@Nullable String value)
      The maximum configured heap.

      API name: heap.max

    • ramCurrent

      public final NodesRecord.Builder ramCurrent(@Nullable String value)
      The used machine memory.

      API name: ram.current

    • ramPercent

      public final NodesRecord.Builder ramPercent(@Nullable String value)
      The used machine memory ratio.

      API name: ram.percent

    • ramMax

      public final NodesRecord.Builder ramMax(@Nullable String value)
      The total machine memory.

      API name: ram.max

    • fileDescCurrent

      public final NodesRecord.Builder fileDescCurrent(@Nullable String value)
      The used file descriptors.

      API name: file_desc.current

    • fileDescPercent

      public final NodesRecord.Builder fileDescPercent(@Nullable String value)
      The used file descriptor ratio.

      API name: file_desc.percent

    • fileDescMax

      public final NodesRecord.Builder fileDescMax(@Nullable String value)
      The maximum number of file descriptors.

      API name: file_desc.max

    • cpu

      public final NodesRecord.Builder cpu(@Nullable String value)
      The recent system CPU usage as a percentage.

      API name: cpu

    • load1m

      public final NodesRecord.Builder load1m(@Nullable String value)
      The load average for the most recent minute.

      API name: load_1m

    • load5m

      public final NodesRecord.Builder load5m(@Nullable String value)
      The load average for the last five minutes.

      API name: load_5m

    • load15m

      public final NodesRecord.Builder load15m(@Nullable String value)
      The load average for the last fifteen minutes.

      API name: load_15m

    • uptime

      public final NodesRecord.Builder uptime(@Nullable String value)
      The node uptime.

      API name: uptime

    • nodeRole

      public final NodesRecord.Builder nodeRole(@Nullable String value)
      The roles of the node. Returned values include c(cold node), d(data node), f(frozen node), h(hot node), i(ingest node), l(machine learning node), m (master eligible node), r(remote cluster client node), s(content node), t(transform node), v(voting-only node), w(warm node),and -(coordinating node only).

      API name: node.role

    • master

      public final NodesRecord.Builder master(@Nullable String value)
      Indicates whether the node is the elected master node. Returned values include *(elected master) and -(not elected master).

      API name: master

    • name

      public final NodesRecord.Builder name(@Nullable String value)
      The node name.

      API name: name

    • completionSize

      public final NodesRecord.Builder completionSize(@Nullable String value)
      The size of completion.

      API name: completion.size

    • fielddataMemorySize

      public final NodesRecord.Builder fielddataMemorySize(@Nullable String value)
      The used fielddata cache.

      API name: fielddata.memory_size

    • fielddataEvictions

      public final NodesRecord.Builder fielddataEvictions(@Nullable String value)
      The fielddata evictions.

      API name: fielddata.evictions

    • queryCacheMemorySize

      public final NodesRecord.Builder queryCacheMemorySize(@Nullable String value)
      The used query cache.

      API name: query_cache.memory_size

    • queryCacheEvictions

      public final NodesRecord.Builder queryCacheEvictions(@Nullable String value)
      The query cache evictions.

      API name: query_cache.evictions

    • queryCacheHitCount

      public final NodesRecord.Builder queryCacheHitCount(@Nullable String value)
      The query cache hit counts.

      API name: query_cache.hit_count

    • queryCacheMissCount

      public final NodesRecord.Builder queryCacheMissCount(@Nullable String value)
      The query cache miss counts.

      API name: query_cache.miss_count

    • requestCacheMemorySize

      public final NodesRecord.Builder requestCacheMemorySize(@Nullable String value)
      The used request cache.

      API name: request_cache.memory_size

    • requestCacheEvictions

      public final NodesRecord.Builder requestCacheEvictions(@Nullable String value)
      The request cache evictions.

      API name: request_cache.evictions

    • requestCacheHitCount

      public final NodesRecord.Builder requestCacheHitCount(@Nullable String value)
      The request cache hit counts.

      API name: request_cache.hit_count

    • requestCacheMissCount

      public final NodesRecord.Builder requestCacheMissCount(@Nullable String value)
      The request cache miss counts.

      API name: request_cache.miss_count

    • flushTotal

      public final NodesRecord.Builder flushTotal(@Nullable String value)
      The number of flushes.

      API name: flush.total

    • flushTotalTime

      public final NodesRecord.Builder flushTotalTime(@Nullable String value)
      The time spent in flush.

      API name: flush.total_time

    • getCurrent

      public final NodesRecord.Builder getCurrent(@Nullable String value)
      The number of current get ops.

      API name: get.current

    • getTime

      public final NodesRecord.Builder getTime(@Nullable String value)
      The time spent in get.

      API name: get.time

    • getTotal

      public final NodesRecord.Builder getTotal(@Nullable String value)
      The number of get ops.

      API name: get.total

    • getExistsTime

      public final NodesRecord.Builder getExistsTime(@Nullable String value)
      The time spent in successful gets.

      API name: get.exists_time

    • getExistsTotal

      public final NodesRecord.Builder getExistsTotal(@Nullable String value)
      The number of successful get operations.

      API name: get.exists_total

    • getMissingTime

      public final NodesRecord.Builder getMissingTime(@Nullable String value)
      The time spent in failed gets.

      API name: get.missing_time

    • getMissingTotal

      public final NodesRecord.Builder getMissingTotal(@Nullable String value)
      The number of failed gets.

      API name: get.missing_total

    • indexingDeleteCurrent

      public final NodesRecord.Builder indexingDeleteCurrent(@Nullable String value)
      The number of current deletions.

      API name: indexing.delete_current

    • indexingDeleteTime

      public final NodesRecord.Builder indexingDeleteTime(@Nullable String value)
      The time spent in deletions.

      API name: indexing.delete_time

    • indexingDeleteTotal

      public final NodesRecord.Builder indexingDeleteTotal(@Nullable String value)
      The number of delete operations.

      API name: indexing.delete_total

    • indexingIndexCurrent

      public final NodesRecord.Builder indexingIndexCurrent(@Nullable String value)
      The number of current indexing operations.

      API name: indexing.index_current

    • indexingIndexTime

      public final NodesRecord.Builder indexingIndexTime(@Nullable String value)
      The time spent in indexing.

      API name: indexing.index_time

    • indexingIndexTotal

      public final NodesRecord.Builder indexingIndexTotal(@Nullable String value)
      The number of indexing operations.

      API name: indexing.index_total

    • indexingIndexFailed

      public final NodesRecord.Builder indexingIndexFailed(@Nullable String value)
      The number of failed indexing operations.

      API name: indexing.index_failed

    • mergesCurrent

      public final NodesRecord.Builder mergesCurrent(@Nullable String value)
      The number of current merges.

      API name: merges.current

    • mergesCurrentDocs

      public final NodesRecord.Builder mergesCurrentDocs(@Nullable String value)
      The number of current merging docs.

      API name: merges.current_docs

    • mergesCurrentSize

      public final NodesRecord.Builder mergesCurrentSize(@Nullable String value)
      The size of current merges.

      API name: merges.current_size

    • mergesTotal

      public final NodesRecord.Builder mergesTotal(@Nullable String value)
      The number of completed merge operations.

      API name: merges.total

    • mergesTotalDocs

      public final NodesRecord.Builder mergesTotalDocs(@Nullable String value)
      The docs merged.

      API name: merges.total_docs

    • mergesTotalSize

      public final NodesRecord.Builder mergesTotalSize(@Nullable String value)
      The size merged.

      API name: merges.total_size

    • mergesTotalTime

      public final NodesRecord.Builder mergesTotalTime(@Nullable String value)
      The time spent in merges.

      API name: merges.total_time

    • refreshTotal

      public final NodesRecord.Builder refreshTotal(@Nullable String value)
      The total refreshes.

      API name: refresh.total

    • refreshTime

      public final NodesRecord.Builder refreshTime(@Nullable String value)
      The time spent in refreshes.

      API name: refresh.time

    • refreshExternalTotal

      public final NodesRecord.Builder refreshExternalTotal(@Nullable String value)
      The total external refreshes.

      API name: refresh.external_total

    • refreshExternalTime

      public final NodesRecord.Builder refreshExternalTime(@Nullable String value)
      The time spent in external refreshes.

      API name: refresh.external_time

    • refreshListeners

      public final NodesRecord.Builder refreshListeners(@Nullable String value)
      The number of pending refresh listeners.

      API name: refresh.listeners

    • scriptCompilations

      public final NodesRecord.Builder scriptCompilations(@Nullable String value)
      The total script compilations.

      API name: script.compilations

    • scriptCacheEvictions

      public final NodesRecord.Builder scriptCacheEvictions(@Nullable String value)
      The total compiled scripts evicted from the cache.

      API name: script.cache_evictions

    • scriptCompilationLimitTriggered

      public final NodesRecord.Builder scriptCompilationLimitTriggered(@Nullable String value)
      The script cache compilation limit triggered.

      API name: script.compilation_limit_triggered

    • searchFetchCurrent

      public final NodesRecord.Builder searchFetchCurrent(@Nullable String value)
      The current fetch phase operations.

      API name: search.fetch_current

    • searchFetchTime

      public final NodesRecord.Builder searchFetchTime(@Nullable String value)
      The time spent in fetch phase.

      API name: search.fetch_time

    • searchFetchTotal

      public final NodesRecord.Builder searchFetchTotal(@Nullable String value)
      The total fetch operations.

      API name: search.fetch_total

    • searchOpenContexts

      public final NodesRecord.Builder searchOpenContexts(@Nullable String value)
      The open search contexts.

      API name: search.open_contexts

    • searchQueryCurrent

      public final NodesRecord.Builder searchQueryCurrent(@Nullable String value)
      The current query phase operations.

      API name: search.query_current

    • searchQueryTime

      public final NodesRecord.Builder searchQueryTime(@Nullable String value)
      The time spent in query phase.

      API name: search.query_time

    • searchQueryTotal

      public final NodesRecord.Builder searchQueryTotal(@Nullable String value)
      The total query phase operations.

      API name: search.query_total

    • searchScrollCurrent

      public final NodesRecord.Builder searchScrollCurrent(@Nullable String value)
      The open scroll contexts.

      API name: search.scroll_current

    • searchScrollTime

      public final NodesRecord.Builder searchScrollTime(@Nullable String value)
      The time scroll contexts held open.

      API name: search.scroll_time

    • searchScrollTotal

      public final NodesRecord.Builder searchScrollTotal(@Nullable String value)
      The completed scroll contexts.

      API name: search.scroll_total

    • segmentsCount

      public final NodesRecord.Builder segmentsCount(@Nullable String value)
      The number of segments.

      API name: segments.count

    • segmentsMemory

      public final NodesRecord.Builder segmentsMemory(@Nullable String value)
      The memory used by segments.

      API name: segments.memory

    • segmentsIndexWriterMemory

      public final NodesRecord.Builder segmentsIndexWriterMemory(@Nullable String value)
      The memory used by the index writer.

      API name: segments.index_writer_memory

    • segmentsVersionMapMemory

      public final NodesRecord.Builder segmentsVersionMapMemory(@Nullable String value)
      The memory used by the version map.

      API name: segments.version_map_memory

    • segmentsFixedBitsetMemory

      public final NodesRecord.Builder segmentsFixedBitsetMemory(@Nullable String value)
      The memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields.

      API name: segments.fixed_bitset_memory

    • suggestCurrent

      public final NodesRecord.Builder suggestCurrent(@Nullable String value)
      The number of current suggest operations.

      API name: suggest.current

    • suggestTime

      public final NodesRecord.Builder suggestTime(@Nullable String value)
      The time spend in suggest.

      API name: suggest.time

    • suggestTotal

      public final NodesRecord.Builder suggestTotal(@Nullable String value)
      The number of suggest operations.

      API name: suggest.total

    • bulkTotalOperations

      public final NodesRecord.Builder bulkTotalOperations(@Nullable String value)
      The number of bulk shard operations.

      API name: bulk.total_operations

    • bulkTotalTime

      public final NodesRecord.Builder bulkTotalTime(@Nullable String value)
      The time spend in shard bulk.

      API name: bulk.total_time

    • bulkTotalSizeInBytes

      public final NodesRecord.Builder bulkTotalSizeInBytes(@Nullable String value)
      The total size in bytes of shard bulk.

      API name: bulk.total_size_in_bytes

    • bulkAvgTime

      public final NodesRecord.Builder bulkAvgTime(@Nullable String value)
      The average time spend in shard bulk.

      API name: bulk.avg_time

    • bulkAvgSizeInBytes

      public final NodesRecord.Builder bulkAvgSizeInBytes(@Nullable String value)
      The average size in bytes of shard bulk.

      API name: bulk.avg_size_in_bytes

    • self

      protected NodesRecord.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<NodesRecord.Builder>
    • build

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