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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRerouteResponse.BuilderBuilder forRerouteResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RerouteResponse>_DESERIALIZERJson deserializer forRerouteResponse -
Constructor Summary
Constructors Constructor Description RerouteResponse(RerouteResponse.Builder builder)RerouteResponse(java.util.function.Function<RerouteResponse.Builder,RerouteResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.List<RerouteExplanation>explanations()API name:explanationsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRerouteResponseDeserializer(DelegatingDeserializer<RerouteResponse.Builder> op)JsonDatastate()Required - There aren't any guarantees on the output/structure of the raw cluster state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteResponse
-
-
Constructor Details
-
RerouteResponse
-
RerouteResponse
public RerouteResponse(java.util.function.Function<RerouteResponse.Builder,RerouteResponse.Builder> fn)
-
-
Method Details
-
explanations
API name:explanations -
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRerouteResponseDeserializer
protected static void setupRerouteResponseDeserializer(DelegatingDeserializer<RerouteResponse.Builder> op)
-