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 classIndexRoutingAllocation.BuilderBuilder forIndexRoutingAllocation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocation>_DESERIALIZERJson 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 IndexRoutingAllocationDiskdisk()API name:diskIndexRoutingAllocationOptionsenable()API name:enableIndexRoutingAllocationIncludeinclude()API name:includeIndexRoutingAllocationInitialRecoveryinitialRecovery()API name:initial_recoveryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexRoutingAllocationDeserializer(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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationDeserializer
protected static void setupIndexRoutingAllocationDeserializer(DelegatingDeserializer<IndexRoutingAllocation.Builder> op)
-