primary
Required - API name:
primaryWithJson<ShardRouting.Builder>, ObjectBuilder<ShardRouting>ShardRouting.build()ShardRouting.final ShardRouting.Buildernodefinal ShardRouting.Builderprimary(boolean value) primaryfinal ShardRouting.BuilderrelocatingNode(String value) relocating_nodeprotected ShardRouting.Builderself()final ShardRouting.Builderstate(ShardRoutingState value) statewithJson_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllnodeprimaryrelocating_nodestateself in class WithJsonObjectBuilderBase<ShardRouting.Builder>ShardRouting.build in interface ObjectBuilder<ShardRouting>NullPointerException - if some of the required fields are null.