Class RerouteResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.RerouteResponse
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<RerouteResponse> _DESERIALIZER
Json deserializer forRerouteResponse
-
-
Method Detail
-
of
public static RerouteResponse of(java.util.function.Function<RerouteResponse.Builder,ObjectBuilder<RerouteResponse>> fn)
-
explanations
public final java.util.List<RerouteExplanation> explanations()
API name:explanations
-
state
public final JsonData 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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupRerouteResponseDeserializer
protected static void setupRerouteResponseDeserializer(ObjectDeserializer<RerouteResponse.Builder> op)
-
-