primary
public final boolean primary()
Required - API name:
primaryJsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<AllocationExplainResponse.Builder,AllocationExplainResponse> static final JsonpDeserializer<AllocationExplainResponse> AllocationExplainResponsefinal Stringallocate_explanationfinal Timeallocation_delayfinal Longallocation_delay_in_millisbuilder()final Decisioncan_allocatefinal Decisioncan_move_to_other_nodefinal Decisioncan_rebalance_clusterfinal List<AllocationDecision> can_rebalance_cluster_decisionsfinal Decisioncan_rebalance_to_other_nodefinal List<AllocationDecision> can_remain_decisionsfinal Decisioncan_remain_on_current_nodefinal ClusterInfocluster_infofinal Timeconfigured_delayfinal Longconfigured_delay_in_millisfinal CurrentNodecurrent_nodefinal Stringcurrent_statebooleaninthashCode()final Stringindex()indexfinal Stringmove_explanationfinal List<NodeAllocationExplanation> node_allocation_decisionsfinal Stringnote()notestatic AllocationExplainResponsefinal booleanprimary()primaryfinal Stringrebalance_explanationfinal Timeremaining_delayfinal Longremaining_delay_in_millisvoidserialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) protected static voidsetupAllocationExplainResponseDeserializer(ObjectDeserializer<AllocationExplainResponse.Builder> op) final intshard()shardToCopyableBuilder that is initialised with the current state of this object.final UnassignedInformationunassigned_infoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoJsonStringcopyAllocationExplainResponseallocate_explanationallocation_delayallocation_delay_in_milliscan_allocatecan_move_to_other_nodecan_rebalance_clustercan_rebalance_cluster_decisionscan_rebalance_to_other_nodecan_remain_decisionscan_remain_on_current_nodecluster_infoconfigured_delayconfigured_delay_in_milliscurrent_nodecurrent_stateindexmove_explanationnode_allocation_decisionsnoteprimaryrebalance_explanationremaining_delayremaining_delay_in_millisshardunassigned_infoserialize in interface JsonpSerializableToCopyableBuilderToCopyableBuilder that is initialised with the current state of this object.toBuilder in interface ToCopyableBuilder<AllocationExplainResponse.Builder,AllocationExplainResponse>