Class IndexRoutingAllocationDisk
java.lang.Object
org.opensearch.client.opensearch.indices.IndexRoutingAllocationDisk
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexRoutingAllocationDisk.Builder,IndexRoutingAllocationDisk>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexRoutingAllocationDisk
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexRoutingAllocationDisk.Builder,IndexRoutingAllocationDisk>
The disk-based allocation settings.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexRoutingAllocationDisk> Json deserializer forIndexRoutingAllocationDisk -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static IndexRoutingAllocationDiskvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupIndexRoutingAllocationDiskDeserializer(ObjectDeserializer<IndexRoutingAllocationDisk.Builder> op) final BooleanAPI name:threshold_enabledCreate 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 forIndexRoutingAllocationDisk
-
-
Method Details
-
of
public static IndexRoutingAllocationDisk of(Function<IndexRoutingAllocationDisk.Builder, ObjectBuilder<IndexRoutingAllocationDisk>> fn) -
thresholdEnabled
API name:threshold_enabled -
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<IndexRoutingAllocationDisk.Builder,IndexRoutingAllocationDisk> - Returns:
- a new builder instance.
-
builder
-
setupIndexRoutingAllocationDiskDeserializer
protected static void setupIndexRoutingAllocationDiskDeserializer(ObjectDeserializer<IndexRoutingAllocationDisk.Builder> op) -
hashCode
public int hashCode() -
equals
-