Class IndexRoutingAllocation
java.lang.Object
org.opensearch.client.opensearch.indices.IndexRoutingAllocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexRoutingAllocation extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexRoutingAllocation.Builder
Builder forIndexRoutingAllocation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocation>
_DESERIALIZER
Json deserializer forIndexRoutingAllocation
-
Method Summary
Modifier and Type Method Description IndexRoutingAllocationDisk
disk()
API name:disk
IndexRoutingAllocationOptions
enable()
API name:enable
IndexRoutingAllocationInclude
include()
API name:include
IndexRoutingAllocationInitialRecovery
initialRecovery()
API name:initial_recovery
static IndexRoutingAllocation
of(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn)
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
setupIndexRoutingAllocationDeserializer(ObjectDeserializer<IndexRoutingAllocation.Builder> op)
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationDeserializer
protected static void setupIndexRoutingAllocationDeserializer(ObjectDeserializer<IndexRoutingAllocation.Builder> op)
-