Class IndicesRecord.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • health

      public final IndicesRecord.Builder health(@Nullable String value)
      current health status

      API name: health

    • status

      public final IndicesRecord.Builder status(@Nullable String value)
      open/close status

      API name: status

    • index

      public final IndicesRecord.Builder index(@Nullable String value)
      index name

      API name: index

    • uuid

      public final IndicesRecord.Builder uuid(@Nullable String value)
      index uuid

      API name: uuid

    • pri

      public final IndicesRecord.Builder pri(@Nullable String value)
      number of primary shards

      API name: pri

    • rep

      public final IndicesRecord.Builder rep(@Nullable String value)
      number of replica shards

      API name: rep

    • docsCount

      public final IndicesRecord.Builder docsCount(@Nullable String value)
      available docs

      API name: docs.count

    • docsDeleted

      public final IndicesRecord.Builder docsDeleted(@Nullable String value)
      deleted docs

      API name: docs.deleted

    • creationDate

      public final IndicesRecord.Builder creationDate(@Nullable String value)
      index creation date (millisecond value)

      API name: creation.date

    • creationDateString

      public final IndicesRecord.Builder creationDateString(@Nullable String value)
      index creation date (as string)

      API name: creation.date.string

    • storeSize

      public final IndicesRecord.Builder storeSize(@Nullable String value)
      store size of primaries & replicas

      API name: store.size

    • priStoreSize

      public final IndicesRecord.Builder priStoreSize(@Nullable String value)
      store size of primaries

      API name: pri.store.size

    • completionSize

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

      API name: completion.size

    • priCompletionSize

      public final IndicesRecord.Builder priCompletionSize(@Nullable String value)
      size of completion

      API name: pri.completion.size

    • fielddataMemorySize

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

      API name: fielddata.memory_size

    • priFielddataMemorySize

      public final IndicesRecord.Builder priFielddataMemorySize(@Nullable String value)
      used fielddata cache

      API name: pri.fielddata.memory_size

    • fielddataEvictions

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

      API name: fielddata.evictions

    • priFielddataEvictions

      public final IndicesRecord.Builder priFielddataEvictions(@Nullable String value)
      fielddata evictions

      API name: pri.fielddata.evictions

    • queryCacheMemorySize

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

      API name: query_cache.memory_size

    • priQueryCacheMemorySize

      public final IndicesRecord.Builder priQueryCacheMemorySize(@Nullable String value)
      used query cache

      API name: pri.query_cache.memory_size

    • queryCacheEvictions

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

      API name: query_cache.evictions

    • priQueryCacheEvictions

      public final IndicesRecord.Builder priQueryCacheEvictions(@Nullable String value)
      query cache evictions

      API name: pri.query_cache.evictions

    • requestCacheMemorySize

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

      API name: request_cache.memory_size

    • priRequestCacheMemorySize

      public final IndicesRecord.Builder priRequestCacheMemorySize(@Nullable String value)
      used request cache

      API name: pri.request_cache.memory_size

    • requestCacheEvictions

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

      API name: request_cache.evictions

    • priRequestCacheEvictions

      public final IndicesRecord.Builder priRequestCacheEvictions(@Nullable String value)
      request cache evictions

      API name: pri.request_cache.evictions

    • requestCacheHitCount

      public final IndicesRecord.Builder requestCacheHitCount(@Nullable String value)
      request cache hit count

      API name: request_cache.hit_count

    • priRequestCacheHitCount

      public final IndicesRecord.Builder priRequestCacheHitCount(@Nullable String value)
      request cache hit count

      API name: pri.request_cache.hit_count

    • requestCacheMissCount

      public final IndicesRecord.Builder requestCacheMissCount(@Nullable String value)
      request cache miss count

      API name: request_cache.miss_count

    • priRequestCacheMissCount

      public final IndicesRecord.Builder priRequestCacheMissCount(@Nullable String value)
      request cache miss count

      API name: pri.request_cache.miss_count

    • flushTotal

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

      API name: flush.total

    • priFlushTotal

      public final IndicesRecord.Builder priFlushTotal(@Nullable String value)
      number of flushes

      API name: pri.flush.total

    • flushTotalTime

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

      API name: flush.total_time

    • priFlushTotalTime

      public final IndicesRecord.Builder priFlushTotalTime(@Nullable String value)
      time spent in flush

      API name: pri.flush.total_time

    • getCurrent

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

      API name: get.current

    • priGetCurrent

      public final IndicesRecord.Builder priGetCurrent(@Nullable String value)
      number of current get ops

      API name: pri.get.current

    • getTime

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

      API name: get.time

    • priGetTime

      public final IndicesRecord.Builder priGetTime(@Nullable String value)
      time spent in get

      API name: pri.get.time

    • getTotal

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

      API name: get.total

    • priGetTotal

      public final IndicesRecord.Builder priGetTotal(@Nullable String value)
      number of get ops

      API name: pri.get.total

    • getExistsTime

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

      API name: get.exists_time

    • priGetExistsTime

      public final IndicesRecord.Builder priGetExistsTime(@Nullable String value)
      time spent in successful gets

      API name: pri.get.exists_time

    • getExistsTotal

      public final IndicesRecord.Builder getExistsTotal(@Nullable String value)
      number of successful gets

      API name: get.exists_total

    • priGetExistsTotal

      public final IndicesRecord.Builder priGetExistsTotal(@Nullable String value)
      number of successful gets

      API name: pri.get.exists_total

    • getMissingTime

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

      API name: get.missing_time

    • priGetMissingTime

      public final IndicesRecord.Builder priGetMissingTime(@Nullable String value)
      time spent in failed gets

      API name: pri.get.missing_time

    • getMissingTotal

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

      API name: get.missing_total

    • priGetMissingTotal

      public final IndicesRecord.Builder priGetMissingTotal(@Nullable String value)
      number of failed gets

      API name: pri.get.missing_total

    • indexingDeleteCurrent

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

      API name: indexing.delete_current

    • priIndexingDeleteCurrent

      public final IndicesRecord.Builder priIndexingDeleteCurrent(@Nullable String value)
      number of current deletions

      API name: pri.indexing.delete_current

    • indexingDeleteTime

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

      API name: indexing.delete_time

    • priIndexingDeleteTime

      public final IndicesRecord.Builder priIndexingDeleteTime(@Nullable String value)
      time spent in deletions

      API name: pri.indexing.delete_time

    • indexingDeleteTotal

      public final IndicesRecord.Builder indexingDeleteTotal(@Nullable String value)
      number of delete ops

      API name: indexing.delete_total

    • priIndexingDeleteTotal

      public final IndicesRecord.Builder priIndexingDeleteTotal(@Nullable String value)
      number of delete ops

      API name: pri.indexing.delete_total

    • indexingIndexCurrent

      public final IndicesRecord.Builder indexingIndexCurrent(@Nullable String value)
      number of current indexing ops

      API name: indexing.index_current

    • priIndexingIndexCurrent

      public final IndicesRecord.Builder priIndexingIndexCurrent(@Nullable String value)
      number of current indexing ops

      API name: pri.indexing.index_current

    • indexingIndexTime

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

      API name: indexing.index_time

    • priIndexingIndexTime

      public final IndicesRecord.Builder priIndexingIndexTime(@Nullable String value)
      time spent in indexing

      API name: pri.indexing.index_time

    • indexingIndexTotal

      public final IndicesRecord.Builder indexingIndexTotal(@Nullable String value)
      number of indexing ops

      API name: indexing.index_total

    • priIndexingIndexTotal

      public final IndicesRecord.Builder priIndexingIndexTotal(@Nullable String value)
      number of indexing ops

      API name: pri.indexing.index_total

    • indexingIndexFailed

      public final IndicesRecord.Builder indexingIndexFailed(@Nullable String value)
      number of failed indexing ops

      API name: indexing.index_failed

    • priIndexingIndexFailed

      public final IndicesRecord.Builder priIndexingIndexFailed(@Nullable String value)
      number of failed indexing ops

      API name: pri.indexing.index_failed

    • mergesCurrent

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

      API name: merges.current

    • priMergesCurrent

      public final IndicesRecord.Builder priMergesCurrent(@Nullable String value)
      number of current merges

      API name: pri.merges.current

    • mergesCurrentDocs

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

      API name: merges.current_docs

    • priMergesCurrentDocs

      public final IndicesRecord.Builder priMergesCurrentDocs(@Nullable String value)
      number of current merging docs

      API name: pri.merges.current_docs

    • mergesCurrentSize

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

      API name: merges.current_size

    • priMergesCurrentSize

      public final IndicesRecord.Builder priMergesCurrentSize(@Nullable String value)
      size of current merges

      API name: pri.merges.current_size

    • mergesTotal

      public final IndicesRecord.Builder mergesTotal(@Nullable String value)
      number of completed merge ops

      API name: merges.total

    • priMergesTotal

      public final IndicesRecord.Builder priMergesTotal(@Nullable String value)
      number of completed merge ops

      API name: pri.merges.total

    • mergesTotalDocs

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

      API name: merges.total_docs

    • priMergesTotalDocs

      public final IndicesRecord.Builder priMergesTotalDocs(@Nullable String value)
      docs merged

      API name: pri.merges.total_docs

    • mergesTotalSize

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

      API name: merges.total_size

    • priMergesTotalSize

      public final IndicesRecord.Builder priMergesTotalSize(@Nullable String value)
      size merged

      API name: pri.merges.total_size

    • mergesTotalTime

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

      API name: merges.total_time

    • priMergesTotalTime

      public final IndicesRecord.Builder priMergesTotalTime(@Nullable String value)
      time spent in merges

      API name: pri.merges.total_time

    • refreshTotal

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

      API name: refresh.total

    • priRefreshTotal

      public final IndicesRecord.Builder priRefreshTotal(@Nullable String value)
      total refreshes

      API name: pri.refresh.total

    • refreshTime

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

      API name: refresh.time

    • priRefreshTime

      public final IndicesRecord.Builder priRefreshTime(@Nullable String value)
      time spent in refreshes

      API name: pri.refresh.time

    • refreshExternalTotal

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

      API name: refresh.external_total

    • priRefreshExternalTotal

      public final IndicesRecord.Builder priRefreshExternalTotal(@Nullable String value)
      total external refreshes

      API name: pri.refresh.external_total

    • refreshExternalTime

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

      API name: refresh.external_time

    • priRefreshExternalTime

      public final IndicesRecord.Builder priRefreshExternalTime(@Nullable String value)
      time spent in external refreshes

      API name: pri.refresh.external_time

    • refreshListeners

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

      API name: refresh.listeners

    • priRefreshListeners

      public final IndicesRecord.Builder priRefreshListeners(@Nullable String value)
      number of pending refresh listeners

      API name: pri.refresh.listeners

    • searchFetchCurrent

      public final IndicesRecord.Builder searchFetchCurrent(@Nullable String value)
      current fetch phase ops

      API name: search.fetch_current

    • priSearchFetchCurrent

      public final IndicesRecord.Builder priSearchFetchCurrent(@Nullable String value)
      current fetch phase ops

      API name: pri.search.fetch_current

    • searchFetchTime

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

      API name: search.fetch_time

    • priSearchFetchTime

      public final IndicesRecord.Builder priSearchFetchTime(@Nullable String value)
      time spent in fetch phase

      API name: pri.search.fetch_time

    • searchFetchTotal

      public final IndicesRecord.Builder searchFetchTotal(@Nullable String value)
      total fetch ops

      API name: search.fetch_total

    • priSearchFetchTotal

      public final IndicesRecord.Builder priSearchFetchTotal(@Nullable String value)
      total fetch ops

      API name: pri.search.fetch_total

    • searchOpenContexts

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

      API name: search.open_contexts

    • priSearchOpenContexts

      public final IndicesRecord.Builder priSearchOpenContexts(@Nullable String value)
      open search contexts

      API name: pri.search.open_contexts

    • searchQueryCurrent

      public final IndicesRecord.Builder searchQueryCurrent(@Nullable String value)
      current query phase ops

      API name: search.query_current

    • priSearchQueryCurrent

      public final IndicesRecord.Builder priSearchQueryCurrent(@Nullable String value)
      current query phase ops

      API name: pri.search.query_current

    • searchQueryTime

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

      API name: search.query_time

    • priSearchQueryTime

      public final IndicesRecord.Builder priSearchQueryTime(@Nullable String value)
      time spent in query phase

      API name: pri.search.query_time

    • searchQueryTotal

      public final IndicesRecord.Builder searchQueryTotal(@Nullable String value)
      total query phase ops

      API name: search.query_total

    • priSearchQueryTotal

      public final IndicesRecord.Builder priSearchQueryTotal(@Nullable String value)
      total query phase ops

      API name: pri.search.query_total

    • searchScrollCurrent

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

      API name: search.scroll_current

    • priSearchScrollCurrent

      public final IndicesRecord.Builder priSearchScrollCurrent(@Nullable String value)
      open scroll contexts

      API name: pri.search.scroll_current

    • searchScrollTime

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

      API name: search.scroll_time

    • priSearchScrollTime

      public final IndicesRecord.Builder priSearchScrollTime(@Nullable String value)
      time scroll contexts held open

      API name: pri.search.scroll_time

    • searchScrollTotal

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

      API name: search.scroll_total

    • priSearchScrollTotal

      public final IndicesRecord.Builder priSearchScrollTotal(@Nullable String value)
      completed scroll contexts

      API name: pri.search.scroll_total

    • segmentsCount

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

      API name: segments.count

    • priSegmentsCount

      public final IndicesRecord.Builder priSegmentsCount(@Nullable String value)
      number of segments

      API name: pri.segments.count

    • segmentsMemory

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

      API name: segments.memory

    • priSegmentsMemory

      public final IndicesRecord.Builder priSegmentsMemory(@Nullable String value)
      memory used by segments

      API name: pri.segments.memory

    • segmentsIndexWriterMemory

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

      API name: segments.index_writer_memory

    • priSegmentsIndexWriterMemory

      public final IndicesRecord.Builder priSegmentsIndexWriterMemory(@Nullable String value)
      memory used by index writer

      API name: pri.segments.index_writer_memory

    • segmentsVersionMapMemory

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

      API name: segments.version_map_memory

    • priSegmentsVersionMapMemory

      public final IndicesRecord.Builder priSegmentsVersionMapMemory(@Nullable String value)
      memory used by version map

      API name: pri.segments.version_map_memory

    • segmentsFixedBitsetMemory

      public final IndicesRecord.Builder segmentsFixedBitsetMemory(@Nullable String value)
      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

    • priSegmentsFixedBitsetMemory

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

      API name: pri.segments.fixed_bitset_memory

    • warmerCurrent

      public final IndicesRecord.Builder warmerCurrent(@Nullable String value)
      current warmer ops

      API name: warmer.current

    • priWarmerCurrent

      public final IndicesRecord.Builder priWarmerCurrent(@Nullable String value)
      current warmer ops

      API name: pri.warmer.current

    • warmerTotal

      public final IndicesRecord.Builder warmerTotal(@Nullable String value)
      total warmer ops

      API name: warmer.total

    • priWarmerTotal

      public final IndicesRecord.Builder priWarmerTotal(@Nullable String value)
      total warmer ops

      API name: pri.warmer.total

    • warmerTotalTime

      public final IndicesRecord.Builder warmerTotalTime(@Nullable String value)
      time spent in warmers

      API name: warmer.total_time

    • priWarmerTotalTime

      public final IndicesRecord.Builder priWarmerTotalTime(@Nullable String value)
      time spent in warmers

      API name: pri.warmer.total_time

    • suggestCurrent

      public final IndicesRecord.Builder suggestCurrent(@Nullable String value)
      number of current suggest ops

      API name: suggest.current

    • priSuggestCurrent

      public final IndicesRecord.Builder priSuggestCurrent(@Nullable String value)
      number of current suggest ops

      API name: pri.suggest.current

    • suggestTime

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

      API name: suggest.time

    • priSuggestTime

      public final IndicesRecord.Builder priSuggestTime(@Nullable String value)
      time spend in suggest

      API name: pri.suggest.time

    • suggestTotal

      public final IndicesRecord.Builder suggestTotal(@Nullable String value)
      number of suggest ops

      API name: suggest.total

    • priSuggestTotal

      public final IndicesRecord.Builder priSuggestTotal(@Nullable String value)
      number of suggest ops

      API name: pri.suggest.total

    • memoryTotal

      public final IndicesRecord.Builder memoryTotal(@Nullable String value)
      total used memory

      API name: memory.total

    • priMemoryTotal

      public final IndicesRecord.Builder priMemoryTotal(@Nullable String value)
      total user memory

      API name: pri.memory.total

    • searchThrottled

      public final IndicesRecord.Builder searchThrottled(@Nullable String value)
      indicates if the index is search throttled

      API name: search.throttled

    • bulkTotalOperations

      public final IndicesRecord.Builder bulkTotalOperations(@Nullable String value)
      number of bulk shard ops

      API name: bulk.total_operations

    • priBulkTotalOperations

      public final IndicesRecord.Builder priBulkTotalOperations(@Nullable String value)
      number of bulk shard ops

      API name: pri.bulk.total_operations

    • bulkTotalTime

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

      API name: bulk.total_time

    • priBulkTotalTime

      public final IndicesRecord.Builder priBulkTotalTime(@Nullable String value)
      time spend in shard bulk

      API name: pri.bulk.total_time

    • bulkTotalSizeInBytes

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

      API name: bulk.total_size_in_bytes

    • priBulkTotalSizeInBytes

      public final IndicesRecord.Builder priBulkTotalSizeInBytes(@Nullable String value)
      total size in bytes of shard bulk

      API name: pri.bulk.total_size_in_bytes

    • bulkAvgTime

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

      API name: bulk.avg_time

    • priBulkAvgTime

      public final IndicesRecord.Builder priBulkAvgTime(@Nullable String value)
      average time spend in shard bulk

      API name: pri.bulk.avg_time

    • bulkAvgSizeInBytes

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

      API name: bulk.avg_size_in_bytes

    • priBulkAvgSizeInBytes

      public final IndicesRecord.Builder priBulkAvgSizeInBytes(@Nullable String value)
      average size in bytes of shard bulk

      API name: pri.bulk.avg_size_in_bytes

    • self

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

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