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 classIndexRoutingAllocation.BuilderBuilder forIndexRoutingAllocation.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocation>_DESERIALIZERJson deserializer forIndexRoutingAllocation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexRoutingAllocation> _DESERIALIZER
Json deserializer forIndexRoutingAllocation
-
-
Method Detail
-
of
public static IndexRoutingAllocation of(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn)
-
enable
@Nullable public final IndexRoutingAllocationOptions enable()
API name:enable
-
include
@Nullable public final IndexRoutingAllocationInclude include()
API name:include
-
initialRecovery
@Nullable public final IndexRoutingAllocationInitialRecovery initialRecovery()
API name:initial_recovery
-
disk
@Nullable public final IndexRoutingAllocationDisk disk()
API name:disk
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexRoutingAllocationDeserializer
protected static void setupIndexRoutingAllocationDeserializer(ObjectDeserializer<IndexRoutingAllocation.Builder> op)
-
-