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
-
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 -
Method Summary
Modifier and Type Method Description java.util.List<RerouteExplanation>explanations()API name:explanationsstatic RerouteResponseof(java.util.function.Function<RerouteResponse.Builder,ObjectBuilder<RerouteResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)JsonDatastate()Required - There aren't any guarantees on the output/structure of the raw cluster state.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteResponse
-
-
Method Details
-
of
public static RerouteResponse of(java.util.function.Function<RerouteResponse.Builder,ObjectBuilder<RerouteResponse>> fn) -
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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupRerouteResponseDeserializer
protected static void setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)
-