Class IndexRoutingAllocationInitialRecovery
java.lang.Object
org.opensearch.client.opensearch.indices.IndexRoutingAllocationInitialRecovery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexRoutingAllocationInitialRecovery.Builder,IndexRoutingAllocationInitialRecovery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexRoutingAllocationInitialRecovery
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexRoutingAllocationInitialRecovery.Builder,IndexRoutingAllocationInitialRecovery>
The configuration for initial shard recovery.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexRoutingAllocationInitialRecovery> Json deserializer forIndexRoutingAllocationInitialRecovery -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final Stringid()API name:_idof(Function<IndexRoutingAllocationInitialRecovery.Builder, ObjectBuilder<IndexRoutingAllocationInitialRecovery>> 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 voidsetupIndexRoutingAllocationInitialRecoveryDeserializer(ObjectDeserializer<IndexRoutingAllocationInitialRecovery.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexRoutingAllocationInitialRecovery
-
-
Method Details
-
of
-
id
API name:_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndexRoutingAllocationInitialRecovery.Builder,IndexRoutingAllocationInitialRecovery> - Returns:
- a new builder instance.
-
builder
-
setupIndexRoutingAllocationInitialRecoveryDeserializer
protected static void setupIndexRoutingAllocationInitialRecoveryDeserializer(ObjectDeserializer<IndexRoutingAllocationInitialRecovery.Builder> op) -
hashCode
public int hashCode() -
equals
-