Class IndexRoutingAllocation
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexRoutingAllocation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description IndexRoutingAllocationDiskdisk()API name:diskIndexRoutingAllocationOptionsenable()API name:enableIndexRoutingAllocationIncludeinclude()API name:includeIndexRoutingAllocationInitialRecoveryinitialRecovery()API name:initial_recoverystatic IndexRoutingAllocationof(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexRoutingAllocationDeserializer(ObjectDeserializer<IndexRoutingAllocation.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexRoutingAllocation
-
-
Method Details
-
of
public static IndexRoutingAllocation of(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn) -
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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexRoutingAllocationDeserializer
protected static void setupIndexRoutingAllocationDeserializer(ObjectDeserializer<IndexRoutingAllocation.Builder> op)
-