primary
public final boolean primary()
Required - Whether this is a primary shard.
API name: primary
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<ShardSegmentRouting.Builder,ShardSegmentRouting> static final JsonpDeserializer<ShardSegmentRouting> ShardSegmentRoutingstatic ShardSegmentRouting.Builderbuilder()booleaninthashCode()final Stringnode()static ShardSegmentRoutingfinal booleanprimary()voidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static voidfinal Stringstate()ToCopyableBuilder that is initialised with the current state of this object.clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoJsonStringcopyShardSegmentRouting
API name: node
API name: primary
API name: state
serialize in interface JsonpSerializableToCopyableBuilderToCopyableBuilder that is initialised with the current state of this object.toBuilder in interface ToCopyableBuilder<ShardSegmentRouting.Builder,ShardSegmentRouting>