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