Class ClusterIndices.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterIndices.Builder>
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndices.Builder
- All Implemented Interfaces:
WithJson<ClusterIndices.Builder>
,ObjectBuilder<ClusterIndices>
- Enclosing class:
- ClusterIndices
public static class ClusterIndices.Builder extends WithJsonObjectBuilderBase<ClusterIndices.Builder> implements ObjectBuilder<ClusterIndices>
Builder for
ClusterIndices
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClusterIndices.Builder
analysis(CharFilterTypes value)
Required - Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndices.Builder
analysis(java.util.function.Function<CharFilterTypes.Builder,ObjectBuilder<CharFilterTypes>> fn)
Required - Contains statistics about analyzers and analyzer components used in selected nodes.ClusterIndices
build()
Builds aClusterIndices
.ClusterIndices.Builder
completion(CompletionStats value)
Required - Contains statistics about memory used for completion in selected nodes.ClusterIndices.Builder
completion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)
Required - Contains statistics about memory used for completion in selected nodes.ClusterIndices.Builder
count(long value)
Required - Total number of indices with shards assigned to selected nodes.ClusterIndices.Builder
docs(DocStats value)
Required - Contains counts for documents in selected nodes.ClusterIndices.Builder
docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)
Required - Contains counts for documents in selected nodes.ClusterIndices.Builder
fielddata(FielddataStats value)
Required - Contains statistics about the field data cache of selected nodes.ClusterIndices.Builder
fielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)
Required - Contains statistics about the field data cache of selected nodes.ClusterIndices.Builder
mappings(FieldTypesMappings value)
Required - Contains statistics about field mappings in selected nodes.ClusterIndices.Builder
mappings(java.util.function.Function<FieldTypesMappings.Builder,ObjectBuilder<FieldTypesMappings>> fn)
Required - Contains statistics about field mappings in selected nodes.ClusterIndices.Builder
queryCache(QueryCacheStats value)
Required - Contains statistics about the query cache of selected nodes.ClusterIndices.Builder
queryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)
Required - Contains statistics about the query cache of selected nodes.ClusterIndices.Builder
segments(SegmentsStats value)
Required - Contains statistics about segments in selected nodes.ClusterIndices.Builder
segments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)
Required - Contains statistics about segments in selected nodes.protected ClusterIndices.Builder
self()
ClusterIndices.Builder
shards(ClusterIndicesShards value)
Required - Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Builder
shards(java.util.function.Function<ClusterIndicesShards.Builder,ObjectBuilder<ClusterIndicesShards>> fn)
Required - Contains statistics about indices with shards assigned to selected nodes.ClusterIndices.Builder
store(StoreStats value)
Required - Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builder
store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)
Required - Contains statistics about the size of shards assigned to selected nodes.ClusterIndices.Builder
versions(IndicesVersions value, IndicesVersions... values)
API name:versions
ClusterIndices.Builder
versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)
API name:versions
ClusterIndices.Builder
versions(java.util.List<IndicesVersions> list)
API name:versions
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
completion
Required - Contains statistics about memory used for completion in selected nodes.API name:
completion
-
completion
public final ClusterIndices.Builder completion(java.util.function.Function<CompletionStats.Builder,ObjectBuilder<CompletionStats>> fn)Required - Contains statistics about memory used for completion in selected nodes.API name:
completion
-
count
Required - Total number of indices with shards assigned to selected nodes.API name:
count
-
docs
Required - Contains counts for documents in selected nodes.API name:
docs
-
docs
public final ClusterIndices.Builder docs(java.util.function.Function<DocStats.Builder,ObjectBuilder<DocStats>> fn)Required - Contains counts for documents in selected nodes.API name:
docs
-
fielddata
Required - Contains statistics about the field data cache of selected nodes.API name:
fielddata
-
fielddata
public final ClusterIndices.Builder fielddata(java.util.function.Function<FielddataStats.Builder,ObjectBuilder<FielddataStats>> fn)Required - Contains statistics about the field data cache of selected nodes.API name:
fielddata
-
queryCache
Required - Contains statistics about the query cache of selected nodes.API name:
query_cache
-
queryCache
public final ClusterIndices.Builder queryCache(java.util.function.Function<QueryCacheStats.Builder,ObjectBuilder<QueryCacheStats>> fn)Required - Contains statistics about the query cache of selected nodes.API name:
query_cache
-
segments
Required - Contains statistics about segments in selected nodes.API name:
segments
-
segments
public final ClusterIndices.Builder segments(java.util.function.Function<SegmentsStats.Builder,ObjectBuilder<SegmentsStats>> fn)Required - Contains statistics about segments in selected nodes.API name:
segments
-
shards
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
shards
-
shards
public final ClusterIndices.Builder shards(java.util.function.Function<ClusterIndicesShards.Builder,ObjectBuilder<ClusterIndicesShards>> fn)Required - Contains statistics about indices with shards assigned to selected nodes.API name:
shards
-
store
Required - Contains statistics about the size of shards assigned to selected nodes.API name:
store
-
store
public final ClusterIndices.Builder store(java.util.function.Function<StoreStats.Builder,ObjectBuilder<StoreStats>> fn)Required - Contains statistics about the size of shards assigned to selected nodes.API name:
store
-
mappings
Required - Contains statistics about field mappings in selected nodes.API name:
mappings
-
mappings
public final ClusterIndices.Builder mappings(java.util.function.Function<FieldTypesMappings.Builder,ObjectBuilder<FieldTypesMappings>> fn)Required - Contains statistics about field mappings in selected nodes.API name:
mappings
-
analysis
Required - Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis
-
analysis
public final ClusterIndices.Builder analysis(java.util.function.Function<CharFilterTypes.Builder,ObjectBuilder<CharFilterTypes>> fn)Required - Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis
-
versions
API name:versions
Adds all elements of
list
toversions
. -
versions
API name:versions
Adds one or more values to
versions
. -
versions
public final ClusterIndices.Builder versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)API name:versions
Adds a value to
versions
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClusterIndices.Builder>
-
build
Builds aClusterIndices
.- Specified by:
build
in interfaceObjectBuilder<ClusterIndices>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-