Class IndexRoutingAllocationInclude
java.lang.Object
org.opensearch.client.opensearch.indices.IndexRoutingAllocationInclude
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexRoutingAllocationInclude
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude>
The inclusion rules for shard allocation.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexRoutingAllocationInclude> Json deserializer forIndexRoutingAllocationInclude -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final Stringid()API name:_idvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op) final StringThe data tier preference for the index.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 forIndexRoutingAllocationInclude
-
-
Method Details
-
of
-
id
API name:_id -
tierPreference
The data tier preference for the index.API name:
_tier_preference -
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<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude> - Returns:
- a new builder instance.
-
builder
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(ObjectDeserializer<IndexRoutingAllocationInclude.Builder> op) -
hashCode
public int hashCode() -
equals
-