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 class
IndexRoutingAllocationDisk.Builder
Builder forIndexRoutingAllocationDisk
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocationDisk>
_DESERIALIZER
Json 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 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
setupIndexRoutingAllocationDiskDeserializer(DelegatingDeserializer<IndexRoutingAllocationDisk.Builder> op)
boolean
thresholdEnabled()
Required - API name:threshold_enabled
Methods 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()Required - API name:threshold_enabled
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationDiskDeserializer
protected static void setupIndexRoutingAllocationDiskDeserializer(DelegatingDeserializer<IndexRoutingAllocationDisk.Builder> op)
-