Class RerouteResponse

java.lang.Object
co.elastic.clients.elasticsearch.cluster.RerouteResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class RerouteResponse
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • explanations

      @Nullable public java.util.List<RerouteExplanation> explanations()
      API name: explanations
    • state

      public JsonData state()
      Required - There aren't any guarantees on the output/structure of the raw cluster state. Here you will find the internal representation of the cluster, which can differ from the external representation.

      API name: state

    • 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)
    • setupRerouteResponseDeserializer

      protected static void setupRerouteResponseDeserializer​(DelegatingDeserializer<RerouteResponse.Builder> op)