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