Class AllocationExplainResponse
java.lang.Object
org.opensearch.client.opensearch.cluster.AllocationExplainResponse
- All Implemented Interfaces:
ToJsonp
public final class AllocationExplainResponse extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationExplainResponse.BuilderBuilder forAllocationExplainResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationExplainResponse>DESERIALIZERJson deserializer for AllocationExplainResponse -
Constructor Summary
Constructors Modifier Constructor Description protectedAllocationExplainResponse(AllocationExplainResponse.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.StringallocateExplanation()API name:allocate_explanationjava.lang.StringallocationDelay()API name:allocation_delayjava.lang.NumberallocationDelayInMillis()API name:allocation_delay_in_millisjakarta.json.JsonValuecanAllocate()API name:can_allocatejakarta.json.JsonValuecanMoveToOtherNode()API name:can_move_to_other_nodejakarta.json.JsonValuecanRebalanceCluster()API name:can_rebalance_clusterjava.util.List<AllocationDecision>canRebalanceClusterDecisions()API name:can_rebalance_cluster_decisionsjakarta.json.JsonValuecanRebalanceToOtherNode()API name:can_rebalance_to_other_nodejava.util.List<AllocationDecision>canRemainDecisions()API name:can_remain_decisionsjakarta.json.JsonValuecanRemainOnCurrentNode()API name:can_remain_on_current_nodeClusterInfoclusterInfo()API name:cluster_infojava.lang.StringconfiguredDelay()API name:configured_delayjava.lang.NumberconfiguredDelayInMillis()API name:configured_delay_in_millisCurrentNodecurrentNode()API name:current_nodejava.lang.StringcurrentState()API name:current_statejava.lang.Stringindex()API name:indexjava.lang.StringmoveExplanation()API name:move_explanationjava.util.List<NodeAllocationExplanation>nodeAllocationDecisions()API name:node_allocation_decisionsjava.lang.Booleanprimary()API name:primaryjava.lang.StringrebalanceExplanation()API name:rebalance_explanationjava.lang.StringremainingDelay()API name:remaining_delayjava.lang.NumberremainingDelayInMillis()API name:remaining_delay_in_millisprotected static voidsetupAllocationExplainResponseDeserializer(DelegatingDeserializer<AllocationExplainResponse.Builder> op)java.lang.Numbershard()API name:shardvoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)UnassignedInformationunassignedInfo()API name:unassigned_info
-
Field Details
-
DESERIALIZER
Json deserializer for AllocationExplainResponse
-
-
Constructor Details
-
Method Details
-
allocateExplanation
@Nullable public java.lang.String allocateExplanation()API name:allocate_explanation -
allocationDelay
@Nullable public java.lang.String allocationDelay()API name:allocation_delay -
allocationDelayInMillis
@Nullable public java.lang.Number allocationDelayInMillis()API name:allocation_delay_in_millis -
canAllocate
@Nullable public jakarta.json.JsonValue canAllocate()API name:can_allocate -
canMoveToOtherNode
@Nullable public jakarta.json.JsonValue canMoveToOtherNode()API name:can_move_to_other_node -
canRebalanceCluster
@Nullable public jakarta.json.JsonValue canRebalanceCluster()API name:can_rebalance_cluster -
canRebalanceClusterDecisions
API name:can_rebalance_cluster_decisions -
canRebalanceToOtherNode
@Nullable public jakarta.json.JsonValue canRebalanceToOtherNode()API name:can_rebalance_to_other_node -
canRemainDecisions
API name:can_remain_decisions -
canRemainOnCurrentNode
@Nullable public jakarta.json.JsonValue canRemainOnCurrentNode()API name:can_remain_on_current_node -
clusterInfo
API name:cluster_info -
configuredDelay
@Nullable public java.lang.String configuredDelay()API name:configured_delay -
configuredDelayInMillis
@Nullable public java.lang.Number configuredDelayInMillis()API name:configured_delay_in_millis -
currentNode
API name:current_node -
currentState
public java.lang.String currentState()API name:current_state -
index
public java.lang.String index()API name:index -
moveExplanation
@Nullable public java.lang.String moveExplanation()API name:move_explanation -
nodeAllocationDecisions
API name:node_allocation_decisions -
primary
public java.lang.Boolean primary()API name:primary -
rebalanceExplanation
@Nullable public java.lang.String rebalanceExplanation()API name:rebalance_explanation -
remainingDelay
@Nullable public java.lang.String remainingDelay()API name:remaining_delay -
remainingDelayInMillis
@Nullable public java.lang.Number remainingDelayInMillis()API name:remaining_delay_in_millis -
shard
public java.lang.Number shard()API name:shard -
unassignedInfo
API name:unassigned_info -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupAllocationExplainResponseDeserializer
protected static void setupAllocationExplainResponseDeserializer(DelegatingDeserializer<AllocationExplainResponse.Builder> op)
-