primary
Required - If
true, the shard is a primary shard.
API name: primary
WithJson<ShardSegmentRouting.Builder>, ObjectBuilder<ShardSegmentRouting>ShardSegmentRouting.build()ShardSegmentRouting.primary(boolean value) true, the shard is a primary shard.protected ShardSegmentRouting.Builderself()STARTED or
RELOCATING.withJson_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
API name: node
true, the shard is a primary shard.
API name: primary
STARTED or
RELOCATING.
API name: state
self in class WithJsonObjectBuilderBase<ShardSegmentRouting.Builder>ShardSegmentRouting.build in interface ObjectBuilder<ShardSegmentRouting>NullPointerException - if some of the required fields are null.