Class IndexRoutingAllocation
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexRoutingAllocation extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexRoutingAllocation.Builder
Builder forIndexRoutingAllocation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocation>
_DESERIALIZER
Json deserializer forIndexRoutingAllocation
-
Constructor Summary
Constructors Constructor Description IndexRoutingAllocation(IndexRoutingAllocation.Builder builder)
IndexRoutingAllocation(java.util.function.Function<IndexRoutingAllocation.Builder,IndexRoutingAllocation.Builder> fn)
-
Method Summary
Modifier and Type Method Description IndexRoutingAllocationDisk
disk()
API name:disk
IndexRoutingAllocationOptions
enable()
API name:enable
IndexRoutingAllocationInclude
include()
API name:include
IndexRoutingAllocationInitialRecovery
initialRecovery()
API name:initial_recovery
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
setupIndexRoutingAllocationDeserializer(DelegatingDeserializer<IndexRoutingAllocation.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 forIndexRoutingAllocation
-
-
Constructor Details
-
IndexRoutingAllocation
-
IndexRoutingAllocation
public IndexRoutingAllocation(java.util.function.Function<IndexRoutingAllocation.Builder,IndexRoutingAllocation.Builder> fn)
-
-
Method Details
-
enable
API name:enable
-
include
API name:include
-
initialRecovery
API name:initial_recovery
-
disk
API name:disk
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationDeserializer
protected static void setupIndexRoutingAllocationDeserializer(DelegatingDeserializer<IndexRoutingAllocation.Builder> op)
-