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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RerouteResponse.Builder
Builder forRerouteResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RerouteResponse>
_DESERIALIZER
Json deserializer forRerouteResponse
-
Method Summary
Modifier and Type Method Description boolean
acknowledged()
Required - API name:acknowledged
java.util.List<RerouteExplanation>
explanations()
API name:explanations
static RerouteResponse
of(java.util.function.Function<RerouteResponse.Builder,ObjectBuilder<RerouteResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)
JsonData
state()
Required - There aren't any guarantees on the output/structure of the raw cluster state.java.lang.String
toString()
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) -
acknowledged
public final boolean acknowledged()Required - API name:acknowledged
- Specified by:
acknowledged
in interfaceAcknowledgedResponse
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupRerouteResponseDeserializer
protected static void setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)
-