Class NodeAllocationExplanation
java.lang.Object
co.elastic.clients.elasticsearch.cluster.allocation_explain.NodeAllocationExplanation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodeAllocationExplanation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeAllocationExplanation.Builder
Builder forNodeAllocationExplanation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeAllocationExplanation>
_DESERIALIZER
Json deserializer forNodeAllocationExplanation
-
Method Summary
Modifier and Type Method Description java.util.List<AllocationDecision>
deciders()
Required - API name:deciders
java.util.Map<java.lang.String,java.lang.String>
nodeAttributes()
Required - API name:node_attributes
Decision
nodeDecision()
Required - API name:node_decision
java.lang.String
nodeId()
Required - API name:node_id
java.lang.String
nodeName()
Required - API name:node_name
static NodeAllocationExplanation
of(java.util.function.Function<NodeAllocationExplanation.Builder,ObjectBuilder<NodeAllocationExplanation>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupNodeAllocationExplanationDeserializer(ObjectDeserializer<NodeAllocationExplanation.Builder> op)
AllocationStore
store()
API name:store
java.lang.String
toString()
java.lang.String
transportAddress()
Required - API name:transport_address
int
weightRanking()
Required - API name:weight_ranking
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAllocationExplanation
-
-
Method Details
-
of
public static NodeAllocationExplanation of(java.util.function.Function<NodeAllocationExplanation.Builder,ObjectBuilder<NodeAllocationExplanation>> fn) -
deciders
Required - API name:deciders
-
nodeAttributes
public final java.util.Map<java.lang.String,java.lang.String> nodeAttributes()Required - API name:node_attributes
-
nodeDecision
Required - API name:node_decision
-
nodeId
public final java.lang.String nodeId()Required - API name:node_id
-
nodeName
public final java.lang.String nodeName()Required - API name:node_name
-
store
API name:store
-
transportAddress
public final java.lang.String transportAddress()Required - API name:transport_address
-
weightRanking
public final int weightRanking()Required - API name:weight_ranking
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupNodeAllocationExplanationDeserializer
protected static void setupNodeAllocationExplanationDeserializer(ObjectDeserializer<NodeAllocationExplanation.Builder> op)
-