Class NodeAllocationExplanation
java.lang.Object
co.elastic.clients.elasticsearch.cluster.allocation_explain.NodeAllocationExplanation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class NodeAllocationExplanation
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeAllocationExplanation>
Json deserializer forNodeAllocationExplanation
-
Method Summary
Modifier and TypeMethodDescriptionfinal List<AllocationDecision>
deciders()
Required - API name:deciders
Required - API name:node_attributes
final Decision
Required - API name:node_decision
final String
nodeId()
Required - API name:node_id
final String
nodeName()
Required - API name:node_name
static NodeAllocationExplanation
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) final AllocationStore
store()
API name:store
toString()
final String
Required - API name:transport_address
final int
Required - API name:weight_ranking
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAllocationExplanation
-
-
Method Details
-
of
public static NodeAllocationExplanation of(Function<NodeAllocationExplanation.Builder, ObjectBuilder<NodeAllocationExplanation>> fn) -
deciders
Required - API name:deciders
-
nodeAttributes
Required - API name:node_attributes
-
nodeDecision
Required - API name:node_decision
-
nodeId
Required - API name:node_id
-
nodeName
Required - API name:node_name
-
store
API name:store
-
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
-
setupNodeAllocationExplanationDeserializer
protected static void setupNodeAllocationExplanationDeserializer(ObjectDeserializer<NodeAllocationExplanation.Builder> op)
-