primary
public final boolean primary()
Required - If
true, the shard is a primary shard.
API name: primary
JsonpSerializablestatic final JsonpDeserializer<ShardSegmentRouting>ShardSegmentRoutingfinal Stringnode()static ShardSegmentRoutingfinal booleanprimary()true, the shard is a primary shard.rebuild()voidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static voidfinal Stringstate()STARTED or
RELOCATING.toString()ShardSegmentRouting
API name: node
true, the shard is a primary shard.
API name: primary
STARTED or
RELOCATING.
API name: state
serialize in interface JsonpSerializableShardSegmentRouting.Builder initialized with field values of this instance