Class RerouteResponse

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

@JsonpDeserializable
public class RerouteResponse
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RerouteResponse of​(java.util.function.Function<RerouteResponse.Builder,​ObjectBuilder<RerouteResponse>> fn)
    • acknowledged

      public final boolean acknowledged()
      Required - API name: acknowledged
    • explanations

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

      public final 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​(ObjectDeserializer<RerouteResponse.Builder> op)