Class IndexRoutingAllocationInclude
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationInclude
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexRoutingAllocationInclude extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexRoutingAllocationInclude.BuilderBuilder forIndexRoutingAllocationInclude. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexRoutingAllocationInclude>_DESERIALIZERJson deserializer forIndexRoutingAllocationInclude -
Constructor Summary
Constructors Constructor Description IndexRoutingAllocationInclude(IndexRoutingAllocationInclude.Builder builder)IndexRoutingAllocationInclude(java.util.function.Function<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.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(DelegatingDeserializer<IndexRoutingAllocationInclude.Builder> op)java.lang.StringtierPreference()API name:_tier_preferenceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexRoutingAllocationInclude
-
-
Constructor Details
-
IndexRoutingAllocationInclude
-
IndexRoutingAllocationInclude
public IndexRoutingAllocationInclude(java.util.function.Function<IndexRoutingAllocationInclude.Builder,IndexRoutingAllocationInclude.Builder> fn)
-
-
Method Details
-
tierPreference
@Nullable public java.lang.String tierPreference()API name:_tier_preference -
id
@Nullable public java.lang.String id()API name:_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexRoutingAllocationIncludeDeserializer
protected static void setupIndexRoutingAllocationIncludeDeserializer(DelegatingDeserializer<IndexRoutingAllocationInclude.Builder> op)
-