Class ClusterIndices.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndices.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterIndices>
- Enclosing class:
- ClusterIndices
public static class ClusterIndices.Builder extends java.lang.Object implements ObjectBuilder<ClusterIndices>
Builder for
ClusterIndices
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClusterIndices.Builder
addVersions(IndicesVersions value)
Add a value toversions(List)
, creating the list if needed.ClusterIndices.Builder
addVersions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)
Add a value toversions(List)
, creating the list if needed.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.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)
API name:versions
ClusterIndices.Builder
versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)
Setversions(List)
to a singleton list.ClusterIndices.Builder
versions(java.util.List<IndicesVersions> value)
API name:versions
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 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 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 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 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 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 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 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 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 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
-
versions
API name:versions
-
addVersions
Add a value toversions(List)
, creating the list if needed. -
versions
public ClusterIndices.Builder versions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Setversions(List)
to a singleton list. -
addVersions
public ClusterIndices.Builder addVersions(java.util.function.Function<IndicesVersions.Builder,ObjectBuilder<IndicesVersions>> fn)Add a value toversions(List)
, creating the list if needed. -
build
Builds aClusterIndices
.- Specified by:
build
in interfaceObjectBuilder<ClusterIndices>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-