Class IndexRouting
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.IndexRouting
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRoutingAllocationallocation()API name:allocationstatic IndexRoutingof(java.util.function.Function<IndexRouting.Builder,ObjectBuilder<IndexRouting>> fn)IndexRoutingRebalancerebalance()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(ObjectDeserializer<IndexRouting.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexRouting> _DESERIALIZER
Json deserializer forIndexRouting
-
-
Method Detail
-
of
public static IndexRouting of(java.util.function.Function<IndexRouting.Builder,ObjectBuilder<IndexRouting>> fn)
-
allocation
@Nullable public final IndexRoutingAllocation allocation()
API name:allocation
-
rebalance
@Nullable public final IndexRoutingRebalance rebalance()
API name:rebalance
-
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)
-
setupIndexRoutingDeserializer
protected static void setupIndexRoutingDeserializer(ObjectDeserializer<IndexRouting.Builder> op)
-
-