Class StatsResponseBase.AbstractBuilder<BuilderT extends StatsResponseBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.cluster.stats.StatsResponseBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
ClusterStatsResponse.Builder
- Enclosing class:
- StatsResponseBase
public abstract static class StatsResponseBase.AbstractBuilder<BuilderT extends StatsResponseBase.AbstractBuilder<BuilderT>>
extends NodesResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTRequired - Cross-cluster statsfinal BuilderTRequired - Cross-cluster statsfinal BuilderTclusterName(String value) Required - Name of the cluster, based on the cluster name setting.final BuilderTclusterUuid(String value) Required - Unique identifier for the cluster.final BuilderTindices(ClusterIndices value) Required - Contains statistics about indices with shards assigned to selected nodes.final BuilderTRequired - Contains statistics about indices with shards assigned to selected nodes.final BuilderTnodes(ClusterNodes value) Required - Contains statistics about nodes selected by the request’s node filters.final BuilderTRequired - Contains statistics about nodes selected by the request’s node filters.final BuilderTrepositories(String key, Map<String, Long> value) Required - Contains stats on repository feature usage exposed in cluster stats for telemetry.final BuilderTRequired - Contains stats on repository feature usage exposed in cluster stats for telemetry.final BuilderTsnapshots(ClusterSnapshotStats value) Required - Contains stats cluster snapshots.final BuilderTRequired - Contains stats cluster snapshots.final BuilderTstatus(HealthStatus value) Health status of the cluster, based on the state of its primary and replica shards.final BuilderTtimestamp(long value) Required - Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder
nodeStats, nodeStats, selfMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
clusterName
Required - Name of the cluster, based on the cluster name setting.API name:
cluster_name -
clusterUuid
Required - Unique identifier for the cluster.API name:
cluster_uuid -
indices
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
indices -
indices
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
indices -
nodes
Required - Contains statistics about nodes selected by the request’s node filters.API name:
nodes -
nodes
Required - Contains statistics about nodes selected by the request’s node filters.API name:
nodes -
repositories
Required - Contains stats on repository feature usage exposed in cluster stats for telemetry.API name:
repositoriesAdds all entries of
maptorepositories. -
repositories
Required - Contains stats on repository feature usage exposed in cluster stats for telemetry.API name:
repositoriesAdds an entry to
repositories. -
snapshots
Required - Contains stats cluster snapshots.API name:
snapshots -
snapshots
public final BuilderT snapshots(Function<ClusterSnapshotStats.Builder, ObjectBuilder<ClusterSnapshotStats>> fn) Required - Contains stats cluster snapshots.API name:
snapshots -
status
Health status of the cluster, based on the state of its primary and replica shards.API name:
status -
timestamp
Required - Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.API name:
timestamp -
ccs
Required - Cross-cluster statsAPI name:
ccs -
ccs
Required - Cross-cluster statsAPI name:
ccs
-