Class HealthRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HealthRecord.Builder>
co.elastic.clients.elasticsearch.cat.health.HealthRecord.Builder
- All Implemented Interfaces:
WithJson<HealthRecord.Builder>,ObjectBuilder<HealthRecord>
- Enclosing class:
- HealthRecord
public static class HealthRecord.Builder
extends WithJsonObjectBuilderBase<HealthRecord.Builder>
implements ObjectBuilder<HealthRecord>
Builder for
HealthRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal HealthRecord.BuilderactiveShardsPercent(String value) active number of shards in percentbuild()Builds aHealthRecord.final HealthRecord.Buildercluster namefinal HealthRecord.Builderseconds since 1969-01-01 00:00:00final HealthRecord.Buildernumber of initializing nodesfinal HealthRecord.BuildermaxTaskWaitTime(String value) wait time of longest task pendingfinal HealthRecord.Buildernumber of nodes that can store datafinal HealthRecord.Buildertotal number of nodesfinal HealthRecord.BuilderpendingTasks(String value) number of pending tasksfinal HealthRecord.Buildernumber of primary shardsfinal HealthRecord.Buildernumber of relocating nodesprotected HealthRecord.Builderself()final HealthRecord.Buildertotal number of shardsfinal HealthRecord.Builderhealth statusfinal HealthRecord.Buildertime in HH:MM:SSfinal HealthRecord.Buildernumber of unassigned shardsMethods 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
-
epoch
seconds since 1969-01-01 00:00:00API name:
epoch -
timestamp
time in HH:MM:SSAPI name:
timestamp -
cluster
cluster nameAPI name:
cluster -
status
health statusAPI name:
status -
nodeTotal
total number of nodesAPI name:
node.total -
nodeData
number of nodes that can store dataAPI name:
node.data -
shards
total number of shardsAPI name:
shards -
pri
number of primary shardsAPI name:
pri -
relo
number of relocating nodesAPI name:
relo -
init
number of initializing nodesAPI name:
init -
unassign
number of unassigned shardsAPI name:
unassign -
pendingTasks
number of pending tasksAPI name:
pending_tasks -
maxTaskWaitTime
wait time of longest task pendingAPI name:
max_task_wait_time -
activeShardsPercent
active number of shards in percentAPI name:
active_shards_percent -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HealthRecord.Builder>
-
build
Builds aHealthRecord.- Specified by:
buildin interfaceObjectBuilder<HealthRecord>- Throws:
NullPointerException- if some of the required fields are null.
-