Class AllocationDecision
java.lang.Object
co.elastic.clients.elasticsearch.cluster.allocation_explain.AllocationDecision
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<AllocationDecision>
Json deserializer forAllocationDecision
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
decider()
Required - API name:decider
decision()
Required - API name:decision
final String
Required - API name:explanation
static AllocationDecision
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationDecision
-
-
Method Details
-
of
public static AllocationDecision of(Function<AllocationDecision.Builder, ObjectBuilder<AllocationDecision>> fn) -
decider
Required - API name:decider
-
decision
Required - API name:decision
-
explanation
Required - API name:explanation
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAllocationDecisionDeserializer
protected static void setupAllocationDecisionDeserializer(ObjectDeserializer<AllocationDecision.Builder> op)
-