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 classAllocationDecision.BuilderBuilder forAllocationDecision. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationDecision>_DESERIALIZERJson deserializer forAllocationDecision -
Method Summary
Modifier and Type Method Description java.lang.Stringdecider()Required - API name:deciderAllocationExplainDecisiondecision()Required - API name:decisionjava.lang.Stringexplanation()Required - API name:explanationstatic AllocationDecisionof(java.util.function.Function<AllocationDecision.Builder,ObjectBuilder<AllocationDecision>> 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 voidsetupAllocationDecisionDeserializer(ObjectDeserializer<AllocationDecision.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAllocationDecisionDeserializer
protected static void setupAllocationDecisionDeserializer(ObjectDeserializer<AllocationDecision.Builder> op)
-