primary
public final boolean primary()
Required - Whether this is a primary shard.
API name: primary
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<ShardRouting.Builder,ShardRouting> static final JsonpDeserializer<ShardRouting> ShardRoutingstatic ShardRouting.Builderbuilder()booleaninthashCode()final Stringnode()static ShardRoutingfinal booleanprimary()final Stringvoidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static voidfinal ShardRoutingStatestate()stateToCopyableBuilder that is initialised with the current state of this object.clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoJsonStringcopyShardRouting
API name: node
API name: primary
API name: relocating_node
stateserialize in interface JsonpSerializableToCopyableBuilderToCopyableBuilder that is initialised with the current state of this object.toBuilder in interface ToCopyableBuilder<ShardRouting.Builder,ShardRouting>