primary
If true, returns explanation for the primary shard for the given shard ID.
API name: primary
WithJson<AllocationExplainRequest.Builder>
, ObjectBuilder<AllocationExplainRequest>
AllocationExplainRequest
.build()
AllocationExplainRequest
.currentNode(String value)
includeDiskInfo(Boolean value)
includeYesDecisions(Boolean value)
protected AllocationExplainRequest.Builder
self()
withJson
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
API name: current_node
API name: include_disk_info
API name: include_yes_decisions
API name: index
API name: primary
API name: shard
self
in class RequestBase.AbstractBuilder<AllocationExplainRequest.Builder>
AllocationExplainRequest
.build
in interface ObjectBuilder<AllocationExplainRequest>
NullPointerException
- if some of the required fields are null.