Class HealthRecord
java.lang.Object
org.opensearch.client.opensearch.cat.health.HealthRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<HealthRecord.Builder,HealthRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class HealthRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<HealthRecord.Builder,HealthRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HealthRecord> Json deserializer forHealthRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringactive number of shards in percentstatic HealthRecord.Builderbuilder()final Stringcluster()cluster namefinal Stringcluster manager is discovered or notfinal Longepoch()API name:epochbooleaninthashCode()final Stringinit()number of initializing nodesfinal Stringwait time of longest task pendingfinal StringnodeData()number of nodes that can store datafinal Stringtotal number of nodesstatic HealthRecordfinal Stringnumber of pending tasksfinal Stringpri()number of primary shardsfinal Stringrelo()number of relocating nodesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringshards()total number of shardsfinal Stringstatus()health statusfinal StringAPI name:timestampCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringunassign()number of unassigned shardsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forHealthRecord
-
-
Method Details
-
of
-
activeShardsPercent
active number of shards in percentAPI name:
active_shards_percent -
cluster
cluster nameAPI name:
cluster -
discoveredClusterManager
cluster manager is discovered or notAPI name:
discovered_cluster_manager -
epoch
API name:epoch -
init
number of initializing nodesAPI name:
init -
maxTaskWaitTime
wait time of longest task pendingAPI name:
max_task_wait_time -
nodeData
number of nodes that can store dataAPI name:
node.data -
nodeTotal
total number of nodesAPI name:
node.total -
pendingTasks
number of pending tasksAPI name:
pending_tasks -
pri
number of primary shardsAPI name:
pri -
relo
number of relocating nodesAPI name:
relo -
shards
total number of shardsAPI name:
shards -
status
health statusAPI name:
status -
timestamp
API name:timestamp -
unassign
number of unassigned shardsAPI name:
unassign -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HealthRecord.Builder,HealthRecord> - Returns:
- a new builder instance.
-
builder
-
setupHealthRecordDeserializer
-
hashCode
public int hashCode() -
equals
-