Class IndexRouting
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRouting
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexRouting extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexRouting.BuilderBuilder forIndexRouting. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRouting>_DESERIALIZERJson deserializer forIndexRouting -
Constructor Summary
Constructors Constructor Description IndexRouting(IndexRouting.Builder builder)IndexRouting(java.util.function.Function<IndexRouting.Builder,IndexRouting.Builder> fn) -
Method Summary
Modifier and Type Method Description IndexRoutingAllocationallocation()API name:allocationIndexRoutingRebalancerebalance()API name:rebalancevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexRoutingDeserializer(DelegatingDeserializer<IndexRouting.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexRouting
-
-
Constructor Details
-
IndexRouting
-
IndexRouting
-
-
Method Details
-
allocation
API name:allocation -
rebalance
API name:rebalance -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingDeserializer
protected static void setupIndexRoutingDeserializer(DelegatingDeserializer<IndexRouting.Builder> op)
-