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