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
  • Field Details

  • Method Details

    • of

    • deciders

      public final java.util.List<AllocationDecision> deciders()
      Required - API name: deciders
    • nodeAttributes

      public final java.util.Map<java.lang.String,​java.lang.String> nodeAttributes()
      Required - API name: node_attributes
    • nodeDecision

      public final Decision 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

      @Nullable public final AllocationStore 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupNodeAllocationExplanationDeserializer

      protected static void setupNodeAllocationExplanationDeserializer​(ObjectDeserializer<NodeAllocationExplanation.Builder> op)