Class RerouteResponse
java.lang.Object
co.elastic.clients.elasticsearch.cluster.RerouteResponse
- All Implemented Interfaces:
AcknowledgedResponse,JsonpSerializable
@JsonpDeserializable
public class RerouteResponse
extends Object
implements AcknowledgedResponse, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteResponse>Json deserializer forRerouteResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - API name:acknowledgedfinal List<RerouteExplanation>API name:explanationsstatic RerouteResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal JsonDatastate()There aren't any guarantees on the output/structure of the raw cluster state.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRerouteResponse
-
-
Method Details
-
of
public static RerouteResponse of(Function<RerouteResponse.Builder, ObjectBuilder<RerouteResponse>> fn) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged- Specified by:
acknowledgedin interfaceAcknowledgedResponse
-
explanations
API name:explanations -
state
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
-
setupRerouteResponseDeserializer
protected static void setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)
-