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
protected abstract static class StatsResponseBase.AbstractBuilder<BuilderT extends StatsResponseBase.AbstractBuilder<BuilderT>> extends NodesResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
clusterName(java.lang.String value)
Required - Name of the cluster, based on the Cluster name setting setting.BuilderT
clusterUuid(java.lang.String value)
Required - Unique identifier for the cluster.BuilderT
indices(ClusterIndices value)
Required - Contains statistics about indices with shards assigned to selected nodes.BuilderT
indices(java.util.function.Function<ClusterIndices.Builder,ObjectBuilder<ClusterIndices>> fn)
Required - Contains statistics about indices with shards assigned to selected nodes.BuilderT
nodes(ClusterNodes value)
Required - Contains statistics about nodes selected by the request’s node filters.BuilderT
nodes(java.util.function.Function<ClusterNodes.Builder,ObjectBuilder<ClusterNodes>> fn)
Required - Contains statistics about nodes selected by the request’s node filters.BuilderT
status(HealthStatus value)
Required - Health status of the cluster, based on the state of its primary and replica shards.BuilderT
timestamp(long value)
Required - Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase.AbstractBuilder
nodeStats, nodeStats, self
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
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
clusterName
Required - Name of the cluster, based on the Cluster name setting 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
public final BuilderT indices(java.util.function.Function<ClusterIndices.Builder,ObjectBuilder<ClusterIndices>> fn)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
public final BuilderT nodes(java.util.function.Function<ClusterNodes.Builder,ObjectBuilder<ClusterNodes>> fn)Required - Contains statistics about nodes selected by the request’s node filters.API name:
nodes
-
status
Required - Health status of the cluster, based on the state of its primary and replica shards.API name:
status
-
timestamp
Required - Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.API name:
timestamp
-