primary
Required - Whether this is a primary shard.
API name: primary
CopyableBuilder<ShardRouting.Builder,ShardRouting> , MutableBuilder<ShardRouting.Builder,ShardRouting> , ObjectBuilder<ShardRouting>ShardRoutingShardRouting.build()ShardRouting.copy()CopyableBuilder that is a copy of this one.final ShardRouting.Builderfinal ShardRouting.Builderprimary(boolean value) final ShardRouting.BuilderrelocatingNode(String value) final ShardRouting.Builderstate(ShardRoutingState value) state_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyMutationCopyableBuilderCopyableBuilder that is a copy of this one.copy in interface CopyableBuilder<ShardRouting.Builder,ShardRouting>
API name: node
API name: primary
API name: relocating_node
stateShardRouting.build in interface ObjectBuilder<ShardRouting>NullPointerException - if some of the required fields are null.