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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RerouteResponse>Json deserializer forRerouteResponse
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forRerouteResponse
 
- 
- 
Method Details- 
ofpublic static RerouteResponse of(Function<RerouteResponse.Builder, ObjectBuilder<RerouteResponse>> fn) 
- 
acknowledgedpublic final boolean acknowledged()Required - API name:acknowledged- Specified by:
- acknowledgedin interface- AcknowledgedResponse
 
- 
explanationsAPI name:explanations
- 
stateThere 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
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupRerouteResponseDeserializerprotected static void setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op) 
 
-