primary
Required - API name:
primaryWithJson<NodeShard.Builder>, ObjectBuilder<NodeShard>NodeShard.final NodeShard.BuilderallocationId(String key,
String value) allocation_idfinal NodeShard.BuilderallocationId(Map<String,String> map) allocation_idbuild()NodeShard.final NodeShard.Builderindexfinal NodeShard.Buildernodefinal NodeShard.Builderprimary(boolean value) primaryfinal NodeShard.BuilderrecoverySource(String key,
String value) recovery_sourcefinal NodeShard.BuilderrecoverySource(Map<String,String> map) recovery_sourcefinal NodeShard.BuilderrelocatingNode(String value) relocating_nodeprotected NodeShard.Builderself()final NodeShard.Buildershard(int value) shardfinal NodeShard.Builderstate(ShardRoutingState value) statefinal NodeShard.Builderunassigned_infofinal NodeShard.Builderunassigned_infowithJson_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllstateprimarynodeshardindexallocation_id
Adds all entries of map to allocationId.
allocation_id
Adds an entry to allocationId.
recovery_source
Adds all entries of map to recoverySource.
recovery_source
Adds an entry to recoverySource.
unassigned_infounassigned_inforelocating_nodeself in class WithJsonObjectBuilderBase<NodeShard.Builder>NodeShard.build in interface ObjectBuilder<NodeShard>NullPointerException - if some of the required fields are null.