Class RerouteResponse

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

@JsonpDeserializable
public class RerouteResponse
extends java.lang.Object
implements AcknowledgedResponse, 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
      Specified by:
      acknowledged in interface AcknowledgedResponse
    • 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)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupRerouteResponseDeserializer

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