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 -
Method Summary
Modifier and TypeMethodDescriptionfinal ClusterIndices.Builderanalysis(CharFilterTypes value) Required - Contains statistics about analyzers and analyzer components used in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about analyzers and analyzer components used in selected nodes.build()Builds aClusterIndices.final ClusterIndices.Buildercompletion(CompletionStats value) Required - Contains statistics about memory used for completion in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about memory used for completion in selected nodes.final ClusterIndices.Buildercount(long value) Required - Total number of indices with shards assigned to selected nodes.final ClusterIndices.BuilderRequired - Contains counts for documents in selected nodes.final ClusterIndices.BuilderRequired - Contains counts for documents in selected nodes.final ClusterIndices.Builderfielddata(FielddataStats value) Required - Contains statistics about the field data cache of selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the field data cache of selected nodes.final ClusterIndices.Buildermappings(FieldTypesMappings value) Required - Contains statistics about field mappings in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about field mappings in selected nodes.final ClusterIndices.BuilderqueryCache(QueryCacheStats value) Required - Contains statistics about the query cache of selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the query cache of selected nodes.final ClusterIndices.Buildersegments(SegmentsStats value) Required - Contains statistics about segments in selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about segments in selected nodes.protected ClusterIndices.Builderself()final ClusterIndices.Buildershards(ClusterIndicesShards value) Required - Contains statistics about indices with shards assigned to selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about indices with shards assigned to selected nodes.final ClusterIndices.Builderstore(StoreStats value) Required - Contains statistics about the size of shards assigned to selected nodes.final ClusterIndices.BuilderRequired - Contains statistics about the size of shards assigned to selected nodes.final ClusterIndices.Builderversions(IndicesVersions value, IndicesVersions... values) API name:versionsfinal ClusterIndices.BuilderAPI name:versionsfinal ClusterIndices.Builderversions(List<IndicesVersions> list) API name:versionsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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(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
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(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(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(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(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(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(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(Function<CharFilterTypes.Builder, ObjectBuilder<CharFilterTypes>> fn) Required - Contains statistics about analyzers and analyzer components used in selected nodes.API name:
analysis -
versions
API name:versionsAdds all elements of
listtoversions. -
versions
API name:versionsAdds one or more values to
versions. -
versions
public final ClusterIndices.Builder versions(Function<IndicesVersions.Builder, ObjectBuilder<IndicesVersions>> fn) API name:versionsAdds a value to
versionsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ClusterIndices.Builder>
-
build
Builds aClusterIndices.- Specified by:
buildin interfaceObjectBuilder<ClusterIndices>- Throws:
NullPointerException- if some of the required fields are null.
-